Prism is a lightweight, extensible syntax highlighter, built with modern web standards in mind. It’s used in thousands of websites, including some of those you visit daily.
SyntaxHighlighter is currently used by Apache, Aptana, Mozilla, Yahoo, Wordpress, Bug Labs, Freshbooks and others.
- Support 166 languages and 77 styles
- automatic language detection
- multi-language code highlighting
- available for node.js
- works with any markup
- compatible with any js framework
EnlighterJS is a free, easy-to-use, syntax highlighting plugin developed for MooTools. Using it can be as simple as adding a single script and style to your website, choosing the elements you wish to highlight, and EnlighterJS takes care of the rest!
This plugin allows syntax highlighting of source code snippets in an html page. It is very important especially when we want to show our code example. There are a lot of free and useful syntax highlighting scripts around, but they are big, slow and have unnecessary functionality.
jQuery Syntax Highlighter provides an elegant and simplistic interface for using Google's Prettify with jQuery. We also add a series of features that aren't possible just using Prettify, to ensure that you get the best experience possible:
- Installation and usage can be done in two lines!
- Code can either be wrapped (default) or scrollable.
- Styling is themeable. Comes with two custom themes (balupton and google).
- Support for using the code and pre elements for SEO and semantic relevance! Note! Currently Internet Explorer 6-8 have an issue with rendering new lines on code elements, until a fix is found please use pre elements instead.
- Supports the following languages out of the box: bsh, c, cc, cpp, cs, csh, cyc, cv, htm, html, java, js, m, mxml, perl, pl, pm, py, rb, sh, xhtml, xml, xsl.
- Lightweight auto-detection for which language you are using. We can also manually sepecify the language for SEO and semantic relevance according to the WhatWG's recommendation on code inclusion.
- Ajax and Dynamic Content Safe. Can be used on the fly with dynamic content safely.
- Only configurable at the global level for maximum speed benefits.