Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commita63d86f149e7f434b672218b00ff024644dfb520
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerKarsten Blees <blees@dcon.de>
Thu, 15 Mar 2012 17:05:28 +0000 (15 18:05 +0100)
tree32069a77e70f955d6ab8d453fdca5011cb24347a
parent6c48bb1476740d1362d5699f357fb8f67e2b8c05
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