diff options
-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 792e843f..37e59fb8 100644 --- a/docs/Command_Templates.md +++ b/docs/Command_Templates.md @@ -407,11 +407,11 @@ 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 %} --> ``` +<!-- {% 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, |