[英]Where can I find a simple JavaScript based HTML syntax highlighter?
Where can I find a simple JavaScript based HTML syntax highlighter? 我在哪里可以找到一个简单的基于JavaScript的HTML语法荧光笔?
Simpler is better, and I don't need any line numbers or tricks, just added colors. 更简单更好,我不需要任何行号或技巧,只需添加颜色。
If it is the same colors as dreamweaver, even better! 如果它与dreamweaver颜色相同,那就更好了!
There's also google's prettify.js, which is the syntax highligher used on this site: 还有google的prettify.js,这是本网站使用的语法高点:
http://code.google.com/p/google-code-prettify/ http://code.google.com/p/google-code-prettify/
Here are some : 这里有一些 :
If you are using Dojo a nice one is dojox.highlight extension. 如果你正在使用Dojo,那就是dojox.highlight扩展。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.