Here are some of the syntax highlighting plug-ins for pure JavaScript implementations.
English Original: http://www.webdesignbooth.com/9-useful-javascript-syntax-highlighting-scripts/
1.Syntaxhighlighter
I believe this plugin is more than we use, it supports a very large number of languages, and if you encounter unsupported syntax also support customization.
2.SHJS
SHJS is the representative of JS syntax highlighting plug-in, it supports many programming languages, 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 highlighter that uses the Alex Gorbatchev syntax highlighting script to make it closer to XHTML standards.
4.Chili
The chili is also a jquery-based syntax highlighter that supports many languages and takes many configurable items.
5.Lighter.js
Lighter.js is a free syntax highlighting plugin based on MooTools, which is simple and easy to use.
6.Highlight.js
Highlight.js is also easy to use and supports most languages, and it has many plug-ins that can be integrated with CMS, forums, and blogs.
7.Dlhighlight
Dlhighlight is a relatively simple highlighting plugin that only supports JavaScript, CSS, XML, and HTML.
8.Google Code prettify
Google Code prettify is a Google-produced syntax highlighting that can highlight parts of a snippet in an HTML page.
9.Jush
Jush is another jquery syntax highlighting plugin that supports HTML, CSS, PHP, PY, and SQL.