Formating the Comments section
parent
4f7885fd8c
commit
8aad58580b
1 changed files with 9 additions and 9 deletions
|
|
@ -160,7 +160,7 @@ extrude-only move will be classified as retract depending on the direction
|
||||||
[[M110]] - Set the current Line Number
|
[[M110]] - Set the current Line Number
|
||||||
|
|
||||||
##G-Code Comments
|
##G-Code Comments
|
||||||
Comments start at a <code>;</code> (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
|
N3 T0*57 ; This is a comment
|
||||||
N4 G92 E0*67
|
N4 G92 E0*67
|
||||||
|
|
@ -169,12 +169,12 @@ Comments start at a <code>;</code> (semicolon) and end with the end of the line:
|
||||||
|
|
||||||
(example taken from the [RepRap wiki](http://reprap.org/wiki/Gcode#Comments))
|
(example taken from the [RepRap wiki](http://reprap.org/wiki/Gcode#Comments))
|
||||||
|
|
||||||
If you need to use a literal <code>;</code> somewhere (for example within <code>M117</code>), you can escape semicolons with a <code>\</code>
|
If you need to use a literal `;` somewhere (for example within `M117`), you can escape semicolons with a `\`
|
||||||
(backslash):
|
(backslash):
|
||||||
|
|
||||||
M117 Hello \;)
|
M117 Hello \;)
|
||||||
|
|
||||||
The backslash <code>\</code> can also be used to escape <code>\</code> itself if you need a literal <code>\</code> in front of a <code>;</code>:
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue