9 javascript syntax highlighting plug-ins _ javascript skills

Source: Internet
Author: User
Syntax highlighting is frequently used, especially when various codes are displayed in a blog, which makes the code easier to read. There are many syntax highlighting plug-ins around us, most of which are written in javascript, and some are implemented through the server language (such as Phyton or Ruby ). The following describes some syntax highlighting plug-ins implemented by pure javascript.

Http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/.

1. SyntaxHighlighter
I believe that this plug-in is widely used. It supports many languages and supports custom syntax if it is not supported.

2. SHJS
SHJS is a representative of js syntax highlighting plug-ins. It supports many programming languages and is compatible with Firefox 2 & 3, IE 6 & 7, Opera 9.6, Safari 3.2 & Chrome 1.0.


3. beautyOfCode
BeautyOfCode is a jQuery-based syntax highlighting plug-in that uses the Alex Gorbatchev syntax highlighting script to bring it closer to the XHTML standard.


4. Chili
Chili is also a jQuery-based syntax highlighting plug-in that supports many languages and has many configuration options.

5. Lighter. js
Lighter. js is a free syntax highlighting plug-in based on MooTools, which is easy to use.

6. Highlight. js
Highlight. js is also easy to use and supports most languages. It has many plug-ins that can be integrated with CMS, forums, and blogs.

7. DlHighlight
DlHighlight is a simple highlight plug-in that only supports JavaScript, CSS, XML, and HTML.

8. Google Code pret.pdf
Google Code Prettify is a syntax highlighting plug-in produced by Google. It can highlight some Code snippets on html pages.

9. JUSH
JUSH is another jQuery syntax highlighting plug-in that supports HTML, CSS, PHP, PY, and SQL.

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.