Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commitf16e3b76c9d09fea81d30b12ca215ba6099a402d
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Wed, 16 Jan 2013 09:51:01 +0000 (16 09:51 +0000)
treea3cfda9aa6c7c73197594da505c5e683fae99673
parent27c6b4eb0ef7426d73192cf7239a85b2b287c0d3
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