diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Command_Templates.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md index e577decb..979c4b85 100644 --- a/docs/Command_Templates.md +++ b/docs/Command_Templates.md @@ -400,6 +400,7 @@ UPDATE_DELAYED_GCODE ID=report_temp DURATION=0 ``` ### Save Variables to disk +<!-- {% raw %} --> If a [save_variables config section](Config_Reference.md#save_variables) @@ -409,11 +410,9 @@ restarts. All stored variables are loaded into the `printer.save_variables.variables` dict at startup and can be used in gcode macros. to avoid overly long lines you can add the following at the top of the macro: -<!-- {% raw %} --> ``` {% set svv = printer.save_variables.variables %} ``` -<!-- {% endraw %} --> As an example, it could be used to save the state of 2-in-1-out hotend and when starting a print ensure that the active extruder is used, @@ -435,3 +434,4 @@ gcode: {% set svv = printer.save_variables.variables %} ACTIVATE_EXTRUDER extruder={svv.currentextruder} ``` +<!-- {% endraw %} --> |