Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commit26109b246d327ddddf9668d3b478bdccf965679d
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerKarsten Blees <blees@dcon.de>
Sat, 16 Aug 2014 00:59:50 +0000 (16 02:59 +0200)
tree4ee4d863db84a71c955828aaa0bfa520a9d2b06f
parentb96a6fdc837b677ccbe142bebc9014928f2b434b
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