Searching for a semantic syntax highlighter in Javascript

Posted by Boldewyn on Stack Overflow See other posts from Stack Overflow or by Boldewyn
Published on 2010-05-23T09:14:52Z Indexed on 2010/05/23 9:20 UTC
Read the original article Hit count: 355

OK, I know, there are literally dozens of already available syntax highlighters out there. But I want one specifically, that implements line numbers through <ol/> lists. And that reduces the number of possible candidates to one, Lighter.js. Unfortunately, that is MooTools based, and since I decided some time ago to use jQuery, I don't want to embed yet another library just for syntax highlighting.

The SyntaxHighlighter does something similar, but uses tables for the line numbering, and I don't want to hack it, if there is an already available tool, too.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about syntax-highlighting