读书人

javascript实当代码高亮

发布时间: 2013-10-07 19:41:22 作者: rapoo

javascript实现代码高亮

?2. SHJS

?

SHJS stands for Syntax Highlighting in Javascript. It uses language definations from GNU Source-highlight and support a lot of different programming languages. SHJS has been tested and support major browsers sych as Firefox 2 and 3, IE 6 and 7, Opera 9.6, Safari 3.2 and Chrome 1.0.
javascript实当代码高亮

?3. beautyOfCode

?

beautyOfCode is a jQuery plugin for syntax highlighting. It uses the SyntaxHighlighter scripts by Alex Gorbatchev and makes it more XHTML-compliant.
javascript实当代码高亮

?4. Chili

?

Chili is a jQuery code syntax highlighting plugin. It comes bundled with recipes for a lot of languages and supports many configuration options.
javascript实当代码高亮

?5. Lighter.js

?

Lighter.js is a free syntax highlighting plugin for MooTools. Using lighter.cs is as simple as adding a single script to your webpage.
javascript实当代码高亮

?6. Highlight.js

?

highlight.js is easy to use and supports a lot of programming languages. It has some plugins for easily integrations to other CMS, forum or blog.
javascript实当代码高亮

?7. DlHighlight

?

DlHighlight is a simple syntax highlighting scripts that supports only 4 programming languages: JavaScript, CSS, XML, HTML.
javascript实当代码高亮

?8. Google Code Prettify

?

Google Code Prettify a Javascript module and CSS file that allows syntax highlighting of source code snippets in an html page. It is the scripts wich powers code.google.com.
javascript实当代码高亮

?9. JUSH

?

JUSH is yet another jQuery syntax highlighting plugin which supports different programming languages such as HTML, CSS, PHP, PY and SQL.
javascript实当代码高亮

?

?

来源: http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/

?

?

?

读书人网 >JavaScript

热点推荐