It should be mentioned that this does not support and will indeed never support line numbers due to some strange opinions of the lead developer: http://highlightjs.readthedocs.org/en/latest/line-numbers.ht...
http://prismjs.com/ is an alternative that supports line numbers.
Highlight.js – Syntax highlighting for the Web
31–40 of 72 posts
Re: Highlight.js – Syntax highlighting for the Web
#32Re: Highlight.js – Syntax highlighting for the Web
#33https://www.dougcodes.com/go-lang/building-a-web-application...
Dead easy to implement, just set it and forget it.
Re: Highlight.js – Syntax highlighting for the Web
#34Re: Highlight.js – Syntax highlighting for the Web
#35Re: Highlight.js – Syntax highlighting for the Web
#36Earlier quoted context omitted.
"So if you look at line 7, you'll see..."
... that the presenter should buy a laser pointer!
Re: Highlight.js – Syntax highlighting for the Web
#37It should be mentioned that this does not support and will indeed never support line numbers due to some strange opinions of the lead developer: http://highlightjs.readthedocs.org/en/latest/line-numbers.ht...
Re: Highlight.js – Syntax highlighting for the Web
#38It should be mentioned that this does not support and will indeed never support line numbers due to some strange opinions of the lead developer: http://highlightjs.readthedocs.org/en/latest/line-numbers.ht...
I understand the author's point-of-view on this, but disabling line numbers sounds like something that should be user-controllable. Right now it feels like a misfeature, whereas "we don't implement line numbers by default, but if you want them, do this and that and you can have them" would feel way more like a good feature to have.
https://groups.google.com/d/msg/highlightjs/UVJaQcQNC1c/1C6U...
Re: Highlight.js – Syntax highlighting for the Web
#39Re: Highlight.js – Syntax highlighting for the Web
#40It should be mentioned that this does not support and will indeed never support line numbers due to some strange opinions of the lead developer: http://highlightjs.readthedocs.org/en/latest/line-numbers.ht...
http://prismjs.com/ is an alternative that supports line numbers.