Comment by Terretta
1 year ago
This is for publishing web pages talking about code.
The author would like to hand code HTML for such web pages that would present syntax highlighted code to the web page reader, without requiring or resorting to typical js highlighting or screenshots.
None of editing in the terminal, nor an IDE, nor a browser are related to this use case.
However, the highlighting examples do not work with JS disabled (I think because JS is used to load the fonts) so what is the advantage of not using JS for highlighting over calling a JS highlighter on <code> tags?