mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-03 00:02:25 -05:00
A new script then parses these json help files into the html help contents, in a standardised manner. Previously, the function help was a bunch of different formats and structures. Now, a custom stylesheet can be applied (and later tweaked!) to format these help. Eg, this commit colors variables and function names in the syntax section for greater readability.
13 lines
287 B
Plaintext
13 lines
287 B
Plaintext
<h3>$scale function</h3>
|
|
Returns the current scale of the map canvas.
|
|
<br>
|
|
Note: This function is only available in some contexts and will be 0 otherwise.
|
|
<h4>Syntax</h4>
|
|
<code>$scale</code><br>
|
|
|
|
<h4>Example</h4>
|
|
<!-- Show example of function.-->
|
|
<code>$scale → 10000</code><br>
|
|
|
|
|