Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commit7966cfe8450835a9f37e0adcc8ae7e1047af7fd3
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerStepan Kasal <kasal@ucw.cz>
Thu, 15 May 2014 07:42:13 +0000 (15 09:42 +0200)
tree38efa39c14e889e2dc5b0974483abb57db6a0b4a
parenta408b097ab6ba3dec1fa1695c3bd19454ebbb614
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