Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commite364e4a67dfaca28194e01b75434cddc3ccf6f54
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 29 Jan 2012 11:07:19 +0000 (29 11:07 +0000)
treec5d64e409d091a281680b3fcebc81816fd3ebc7b
parentb666eb361250251f5f3cefb858799b3a568a5094
Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript

Gitweb is not exactly what you would call server-friendly, so let's
offload one more task onto the client.

To enable this, put something like this into your gitweb_config.perl:

$feature{'syntaxhighlighter_js'}{'default'} = [{
url => '/SyntaxHighlighter/',
style => 'Django',
theme => 'FadeToGrey'
}];

and clone git://github.com/alexgorbatchev/SyntaxHighlighter into the
directory you specified via the 'url' parameter.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
gitweb/gitweb.perl