discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: [OpenSCAD] Syntax highlighter for web?

B
benjaminwand
Sat, Nov 21, 2020 11:46 AM

Apparently, syntax highlighting for the web is still unsolved.

The best I found was highlight.js , but as you can see there:
https://benjaminwand.github.io/verbose-cv/projects/bezier_curves.html the
syntax highlighting is very weird. And now I'm wondering whether I should
try rewriting half of highlight.js or keep searching further or forget about
it and live with the weird looks. In other languages highlight.js works
well, it just doesn't know OpenSCAD. Any ideas?

--
Sent from: http://forum.openscad.org/

Apparently, syntax highlighting for the web is still unsolved. The best I found was highlight.js , but as you can see there: https://benjaminwand.github.io/verbose-cv/projects/bezier_curves.html the syntax highlighting is *very* weird. And now I'm wondering whether I should try rewriting half of highlight.js or keep searching further or forget about it and live with the weird looks. In other languages highlight.js works well, it just doesn't know OpenSCAD. Any ideas? -- Sent from: http://forum.openscad.org/