Syntax highlighting code with Javascript

What Javascript libraries can you recommend for syntax highlighting <code> blocks in HTML?

(One suggestion per answer please).


StackOverflow使用Prettify库。


I recently developed one called rainbow.

The main design goal was to make the core library really small and make it really easy for developers to extend.

See http://rainbowco.de.


SyntaxHighlighter可用作GitHub项目。

链接地址: http://www.djcxy.com/p/47094.html

上一篇: 更改Emacs语法突出显示颜色

下一篇: 使用Javascript语法高亮显示代码