diff --git a/G-Code-in-Marlin.md b/G-Code-in-Marlin.md index af28ba9..1aabfc6 100644 --- a/G-Code-in-Marlin.md +++ b/G-Code-in-Marlin.md @@ -160,22 +160,22 @@ extrude-only move will be classified as retract depending on the direction [[M110]] - Set the current Line Number ##G-Code Comments -Comments start at a ; (semicolon) and end with the end of the line: +Comments start at a `;` (semicolon) and end with the end of the line: - N3 T0*57 ; This is a comment - N4 G92 E0*67 - ; So is this - N5 G28*22 + N3 T0*57 ; This is a comment + N4 G92 E0*67 + ; So is this + N5 G28*22 (example taken from the [RepRap wiki](http://reprap.org/wiki/Gcode#Comments)) -If you need to use a literal ; somewhere (for example within M117), you can escape semicolons with a \ +If you need to use a literal `;` somewhere (for example within `M117`), you can escape semicolons with a `\` (backslash): - M117 Hello \;) + M117 Hello \;) -The backslash \ can also be used to escape \ itself if you need a literal \ in front of a ;: +The backslash `\` can also be used to escape `\` itself if you need a literal `\` in front of a `;` - M117 backslash: \\;and a comment + M117 backslash: \\;and a comment Please note that hosts should strip any comments before sending GCODE to the printer in order to save bandwidth.