syntaxhighlighter 高亮代码包 by google
Introduction
The idea behind SyntaxHighlighter is to allow insertion of colored code snippets on a web page without relying on any server side scripts.
Who it's for
Intended primarily at for bloggers. However, I have seen some source web sites using it as their main display of source code.
Who it's NOT for
SyntaxHighlighter isn't for those looking for ability to edit highlighted code.
SyntaxHighlighter doesn't allow you to edit the source, it can't be made to do so and it will never do that.
Performance
SyntaxHighlighter uses regular expressions to parse the text. It's not extremely fast, in fact, it's pretty slow. If you are trying to highlight a few dozens lines of code, you won't see any problems. Trying to highlight 10kb worth of text will result in JavaScript being aborted because of long execution time.
URL:http://code.google.com/p/syntaxhighlighter/downloads/list
相关文章
highlight.js 一个不错的高亮
俄罗斯某位大哥写的。引入的方式是,还有wordpress和firefox的插件。来自:http://softwaremaniacs.org/
一个代码高亮包
一个代码高亮的包,附带有演示和本地的下载。
