News for hackers. Stuff that matters.
Re:Highlight.js – Syntax highlighting for the Web by pothibo on Friday February 20, 2015 @04:03PM (#9082992)
http://prismjs.com/ is an alternative that supports line numbers.
Re:Highlight.js – Syntax highlighting for the Web by luddypants on Friday February 20, 2015 @06:03PM (#9083686)
And in particular prismjs lets you select lines of code without selecting the line numbers, which you probably do not want.
Re:Highlight.js – Syntax highlighting for the Web by codexon on Friday February 20, 2015 @07:53PM (#9084131)
Why wouldn't I want that?

If I am copying and pasting code from a website, it usually goes to my editor and I don't want to have to delete the line numbers from it.

Re:Highlight.js – Syntax highlighting for the Web by d0vs on Friday February 20, 2015 @08:34PM (#9084281)
You don't want the line numbers.
Re:Highlight.js – Syntax highlighting for the Web by codexon on Saturday February 21, 2015 @02:31AM (#9085002)
Oh if that's what he meant then I read it the wrong way.
Re:Highlight.js – Syntax highlighting for the Web by thomasfoster96 on Saturday February 21, 2015 @06:57AM (#9085334)
Prism is pretty damn good. Although the name sounds like an NSA plan to intercept all the javascript libraries in the world.
Re:Highlight.js – Syntax highlighting for the Web by yellowapple on Friday February 20, 2015 @04:41PM (#9083242)
I already like this one better, to be honest. It also already has Julia and Rust support. If it were to include Elixir support as well, it'd be perfect.