aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Command_Templates.md
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2020-12-03 12:41:47 -0500
committerKevin O'Connor <kevin@koconnor.net>2020-12-03 12:41:47 -0500
commita2d1e03b91a43fca494037aad4542938855ab6bb (patch)
treed5dd073f347d1d7472f1add8fbe714b282719020 /docs/Command_Templates.md
parent23f547169c86150c9e11fc594bf0d47ee1efe501 (diff)
downloadkutter-a2d1e03b91a43fca494037aad4542938855ab6bb.tar.gz
kutter-a2d1e03b91a43fca494037aad4542938855ab6bb.tar.xz
kutter-a2d1e03b91a43fca494037aad4542938855ab6bb.zip
docs: Yet again try to fix github-pages rendering of Command_Templates.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'docs/Command_Templates.md')
-rw-r--r--docs/Command_Templates.md4
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 %} -->