开发者

How to implement syntax highlight like SO?

开发者 https://www.devze.com 2022-12-09 10:40 出处:网络
Be开发者_JAVA技巧st to be implemented in javascript. And easy to use.Stack Overflow uses Prettify from Google.

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

精彩评论

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