Merge pull request #16 from tvlooy/document_highlight
authorStefan Imhoff <stefan@imhoff.name>
Sat, 2 Feb 2013 11:51:20 +0000 (03:51 -0800)
committerStefan Imhoff <stefan@imhoff.name>
Sat, 2 Feb 2013 11:51:20 +0000 (03:51 -0800)
syntax highlighting docs

README.rst

index 779b2f8b21f157031c00318812a979d832c79ea3..e16c6369baeb38fb1165fa46d106a462676dd5a5 100644 (file)
@@ -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