Home > Web Front-end > JS Tutorial > body text

9 javascript syntax highlighting plug-ins recommended_javascript skills

WBOY
Release: 2016-05-16 18:49:47
Original
1798 people have browsed it

Introduced below are some syntax highlighting plug-ins implemented in pure JavaScript.

Original English text: http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/

1. SyntaxHighlighter
I believe this plug-in is what we use most. It supports many languages ​​and supports customization if you encounter unsupported syntax.

2. SHJS
SHJS is the representative of js syntax highlighting plug-in. 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, using Alex Gorbatchev’s syntax highlighting script Make 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 configurable items. .

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

6. Highlight.js
highlight.js is also easy to use and supports most languages. It has many functions like CMS and forums. Plug-in that integrates with blogs.

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

8. Google Code Prettify
Google Code Prettify is a syntax highlighting plug-in produced by Google that can highlight part of the code in the html page fragment.

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template