Extension:SyntaxHighlighterAndCodeColorizer

What can this extension do?
Highlight syntax and color code using JavaScript. This plugin integrates Alex Gorbatchev’s Syntax Highlighter Tool. There is currently full support for:


 * Bash/shell
 * C#
 * C++
 * CSS
 * Delphi
 * Diff
 * Groovy
 * JavaScript
 * Java
 * Perl
 * PHP
 * Plain Text
 * Python
 * Ruby
 * Scala
 * SQL
 * Visual Basic
 * XML

Example
See it in action:


 * Syntax Highlighting Example on MediaWiki
 * Image of Highlighting

Usage
Just surround your code like this:

Replace the  segment with the type of code you have. For a list of all available brush aliases, see here.

Admins can provide additional aliases (like &lt;plsql&gt; you code &lt;/plsql&gt;) by adding to the extension file code like this:

Download instructions
Download

Installation
To install this extension, add the following to LocalSettings.php: