Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commitf8f90e7cc02996bb299d123eab1d500c435d2f67
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerStepan Kasal <kasal@ucw.cz>
Thu, 29 May 2014 08:41:10 +0000 (29 10:41 +0200)
tree0575d720fa6f67e942a5fc62795c56e414b824ff
parentfbf2d57473656f7d50ec2d6272d9039156a6c139
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