Rappetor / Sovol-SV08-Mainline

Getting the Sovol SV08 onto mainline Klipper
GNU General Public License v3.0
68 stars 18 forks source link

changed to appropriate languages for syntax highlighting #37

Closed Agash closed 1 month ago

Agash commented 1 month ago

.cfg files and other configs work best using ini for syntax highlighting.

gcode syntax highlighting also exists. Though non-standard gcode doesn't work well, but I think it's better to have it here so it can be copied from in the future.

Rappetor commented 1 month ago

Ah yes! Good find and fix, thanks!

Thought I search for the available languages and found this: https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml There are a lot 😀

Agash commented 1 month ago

Yup, there’s a ton ^^

Theoretically we could also replace the images of the terminals with highlighted code blocks that mimic a console rather than bash script and the pinout could maybe be recreated using mermaid.js diagram, and lots more option, but I think that’s too much.

I’ll slowly look into adding formatting where useful for copy/pasting and/or ease of looking at it while not making it too complicated for other contributors.