开发者

How to implement syntax highlight like SO?

Be开发者_JAVA技巧st to be implemented in javascript.

And easy to use.


Stack Overflow uses Prettify from Google.

See this question (on meta) for more discussion about this.


SO are using the WMD editor.

Googling for "javascript syntax highlighter" also brings up a lot of useful stuff.


You can check out this very good code syntax highlighter project: SyntaxHighlighter

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜