jquery syntax highlighting plug-ins support various program source code syntax coloring highlighting _jquery

Source: Internet
Author: User
Tags lexer

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:

    1. 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.
    2. Filters-the filter is fed through a lexer parsed token stream, and some token properties or values can be modified depending on the condition.
    3. 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.
    4. 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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.