Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commitaeb59debf5d242faf433e12fa9932d6040326eb2
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Tue, 19 Jun 2012 22:28:57 +0000 (19 23:28 +0100)
tree2bdc4e1ba38afb80ecc45bf2f0a8872249ae7056
parent51c8381b2639ba9ae739160cc04853565d46a0e7
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