Gitweb: add support for Alex Gorbatchev's SyntaxHighlighter in Javascript
commit5f528a1c00a9068496b838cf885382829572831a
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Sun, 25 Sep 2011 08:02:57 +0000 (25 03:02 -0500)
committerJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 17 Feb 2014 18:02:41 +0000 (17 12:02 -0600)
tree81b03381027fb3ae10b1e2b5f86a0c626e77eeef
parent9b3325cf6ccb3616864e9ffaa955a46c43836fef
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