Changeset - 476daae2a94c
[Not reviewed]
default
0 1 0
Mads Kiilerich - 8 years ago 2018-04-15 22:41:02
mads@kiilerich.com
style: generate pygments.css directly with pygmentize -a

This avoids 'sed' post-processing of the generated css.

pygments.css can thus be generated with:

pygmentize -S default -f html -a .code-highlight > kallithea/public/css/pygments.css
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/pygments.css
Show inline comments
 
.code-highlight .hll { background-color: #ffffcc }
 
.code-highlight  { background: #f8f8f8; }
 
.code-highlight .c { color: #408080; font-style: italic } /* Comment */
 
.code-highlight .err { border: 1px solid #FF0000 } /* Error */
 
.code-highlight .k { color: #008000; font-weight: bold } /* Keyword */
0 comments (0 inline, 0 general)