1) Highlightjs
Highlight.js can highlight various program source code syntax coloring on a page. Supported languages include:
python
Ruby
Perl
PHP
XML
html
CSS
Django
JavaScript
VBScript
Delphi
Java
C++
RenderMan (RSL and RIB)
SQL
Smalltalk
Axapta
1c
INI
diff
dos. bat
Bash
2) google-code-prettify
Google code prettify is a JavaScript library that is used to highlight the syntax coloring of source code on various pages. Google Code prettify is small, after decompression is only 85K size. Support for most commonly used languages. You do not need to specify a language.
3) Syntaxhighlighter
Syntaxhighlighter, is a Web page for the Code coloring tool, can be used to color a variety of languages, can be html,css,javascript, but also can be c,java and other programming languages. First seen in Yahoo's Yui, at that time also belongs to free software, recently opened the official website found has been goolge incorporation.
It can highlight various program source code syntax in a Web page. Supports a variety of currently popular programming languages: C #, CSS, C + +, Delphi, Java, JavaScript, PHP, Python, Ruby, SQL, Visual Basic, xml/html.
4) Chili–jquery Plugin
Chili is a jquery code highlighting plugin.
5) Pygments
Pygments is a Python library that implements the formatting highlighting code. Contains four modules:
- Lexer-parses the code into a token stream, each containing two attributes, one for the current token and one for the current token value. Pygments support a lot of language, can refer to Appendix A.
- Filters-the filter is fed through a lexer parsed token stream, and some token properties or values can be modified depending on the condition.
- The final output of the Formatter-token stream is based on the definition of Formater, which is exported to the implementation-defined format, such as HTML, Latex, or RTF.
- Style-defines the style of the output, such as whether different types of token are displayed in different colors or are bold.
6) Ultraviolet
Ultraviolet is a TEXTPOW syntax highlighting engine, ultraviolet is also a stand-alone command-line utility and Ruby Library.
7) GeSHi
GeSHi (Generic Syntax highlighter) is used to highlight various source code in an HTML page. Supports more than 60 languages: PHP, HTML, C, Java, Java5, C #, Actionscript, Delphi, C + +, Groovy, Javascript, Perl, Pl/sql, Ruby, Python, SQL, XML, etc. It is easily integrated into systems such as dokuwiki,mambo,phpbb,wordpress and WikkaWiki.
8) Snippet
Snippet is a cool jquery syntax highlighting plugin, based on SHJS scripts, you can find the source code on sourceforge. Snippet provides a simple and quick way to easily bring you hints for highlighting syntax. It can be run in IE 6, ie 7, ie 8, FF 3.6, Chrome 6.0, Safari 5.0, Opera 10.62.