Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commit56da1315e85ccf3f20983795c88e3cf98144b59c
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerStepan Kasal <kasal@ucw.cz>
Wed, 16 Apr 2014 14:32:15 +0000 (16 16:32 +0200)
tree4435acc9a38fdd546714fcaa6a951210b73c2f1a
parentb82313e196c8a484eecdb464490aa811b83b3569
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