-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request: gcode highlighting #1571
Labels
Comments
@marc-medley |
|
@marc-medley We might as well also add strings before they destroy our comments. |
good catch. |
Merged
mAAdhaTTah
pushed a commit
that referenced
this issue
Dec 1, 2018
This PR adds the [G-code language](https://reprap.org/wiki/G-code) to Prism and resolves #1571. ### Features - All fields from A-Z ([case sensitive](https://reprap.org/wiki/G-code#Case_sensitivity)) and [checksums](https://reprap.org/wiki/G-code#.2A:_Checksum) (`*`). - [Comments](https://reprap.org/wiki/G-code#Comments) of both the semicolon and parenthesis style. - [Quoted strings](https://reprap.org/wiki/G-code#Quoted_strings). - The colon punctuation of [lists (see the example)](https://reprap.org/wiki/G-code#M584:_Set_drive_mapping).
ggrossetie
pushed a commit
to ggrossetie/prism
that referenced
this issue
Mar 11, 2019
This PR adds the [G-code language](https://reprap.org/wiki/G-code) to Prism and resolves PrismJS#1571. ### Features - All fields from A-Z ([case sensitive](https://reprap.org/wiki/G-code#Case_sensitivity)) and [checksums](https://reprap.org/wiki/G-code#.2A:_Checksum) (`*`). - [Comments](https://reprap.org/wiki/G-code#Comments) of both the semicolon and parenthesis style. - [Quoted strings](https://reprap.org/wiki/G-code#Quoted_strings). - The colon punctuation of [lists (see the example)](https://reprap.org/wiki/G-code#M584:_Set_drive_mapping).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Request: add "G-code" syntax highlighting to prism with the language identifier of
gcode
.G-code is the common name for the most widely used numerical control (NC) programming language. see Wikipedia: G-code
The implementation is really small and already exists in https://github.com/kmoser77/prismjs-reprap-gcode.
The text was updated successfully, but these errors were encountered: