From: Tom Van Looy Date: Fri, 1 Feb 2013 08:49:16 +0000 (+0100) Subject: syntax highlighting docs X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fgitweb-theme;a=commitdiff_plain;h=529e7f376f5b10e078ef78767cd89303db7fa28a syntax highlighting docs --- diff --git a/README.rst b/README.rst index 779b2f8..e16c636 100644 --- a/README.rst +++ b/README.rst @@ -26,6 +26,10 @@ Just clone the repository to a location of your choice, probably into the same d Of course you can just copy them to the new location. If you see some missing things or errors, please create a ticket or fix it and send a pull request. +Optionally, you can enable syntax highlighting for your code. Install the highligh package with your package manager and add this line to /etc/gitweb.conf: + + $feature{'highlight'}{'default'} = [1]; + .. _gitweb: http://git.or.cz/gitwiki/Gitweb .. _kogakure.github.com/gitweb-theme: http://kogakure.github.com/gitweb-theme