Theme support, add PYGMENTS_STYLE option, stylesheets

To generate pygments theme files, get a list of known styles:

>>> from pygments.styles import STYLE_MAP
>>> STYLE_MAP.keys()
['default', 'emacs', 'friendly', 'colorful']

Generate the relevant stylesheet etc:

$ pygmentize -S emacs -f html -a '.highlight pre' > pygments/emacs.css
This commit is contained in:
Raymond Wanyoike 2016-11-07 12:24:30 +03:00
commit f58a419a6c
54 changed files with 1563 additions and 0 deletions

View file

@ -48,6 +48,7 @@ a:hover {
}
.header img {
border: 4px solid #333;
margin: 20px 0;
}
@ -97,3 +98,7 @@ a:hover {
.article blockquote ol:first-child {
margin-top: 0;
}
.highlight pre {
border: none;
}