gitweb: Syntax highlighting support
It requires the 'highlight' program to do all the heavy-lifting. This is loosely based on Daniel Svensson's and Sham Chukoury's work in gitweb-xmms2.git (it cannot be cherry-picked, as gitweb-xmms2 first forked wildly, then not contributed back, and then went stale). [jn: cherry picked from bc1ed6aafd9ee4937559535c66c8bddf1864bec6 in http://repo.or.cz/w/git/dscho.git, with a few changes] Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Acked-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
ddb27a5a6b
commit
b331fe5476
@@ -572,3 +572,21 @@ span.match {
|
||||
div.binary {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Style definition generated by highlight 2.4.5, http://www.andre-simon.de/ */
|
||||
|
||||
/* Highlighting theme definition: */
|
||||
|
||||
.num { color:#2928ff; }
|
||||
.esc { color:#ff00ff; }
|
||||
.str { color:#ff0000; }
|
||||
.dstr { color:#818100; }
|
||||
.slc { color:#838183; font-style:italic; }
|
||||
.com { color:#838183; font-style:italic; }
|
||||
.dir { color:#008200; }
|
||||
.sym { color:#000000; }
|
||||
.line { color:#555555; }
|
||||
.kwa { color:#000000; font-weight:bold; }
|
||||
.kwb { color:#830000; }
|
||||
.kwc { color:#000000; font-weight:bold; }
|
||||
.kwd { color:#010181; }
|
||||
|
||||
Reference in New Issue
Block a user