Mercurial > kallithea
changeset 7242:476daae2a94c
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
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Sun, 15 Apr 2018 22:41:02 +0200 |
parents | bfb6a25ecbd5 |
children | f5f796c77337 |
files | kallithea/public/css/pygments.css |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/public/css/pygments.css Sun Apr 15 22:36:44 2018 +0200 +++ b/kallithea/public/css/pygments.css Sun Apr 15 22:41:02 2018 +0200 @@ -1,4 +1,5 @@ .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 */