Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commite8f78398b15060148a6bbd29747e74a96dd7cb79
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:29:25 +0000 (22 13:29 +0100)
tree8a343646ec6eedb91dcc8b8ebf744179cf780d9e
parentba6db5c55a4d120af42b67c0526ae49f4127d40e
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