Hacker News new | ask | show | jobs
by pothibo 4134 days ago
http://prismjs.com/ is an alternative that supports line numbers.
3 comments

And in particular prismjs lets you select lines of code without selecting the line numbers, which you probably do not want.
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.

You don't want the line numbers.
Oh if that's what he meant then I read it the wrong way.
Prism is pretty damn good. Although the name sounds like an NSA plan to intercept all the javascript libraries in the world.
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.