looking for multi-language code snippet html formatter (syntax highlighter) [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this questionI've been having trouble finding a library to display code syntax like SO does. I'm really not 100% sure what keywords to be searching for. It needs to be a开发者_如何学Goble to handle any language (possibly by adding modules) and be free.
I'd prefer libraries in either php or javascript/css as those are what my app is written in.
Also, it would be awesome if there was an open-source project or something similar where I would be able to build on the code lexer.
There are a few:
http://code.google.com/p/syntaxhighlighter/ (JS)
http://alexgorbatchev.com/SyntaxHighlighter/ (JS)
http://qbnz.com/highlighter/ (PHP)
http://alexgorbatchev.com/SyntaxHighlighter/
精彩评论