diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-10 18:31:45 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2015-05-10 18:31:45 +0200 |
commit | f1b0372d1cad18dd5e70d04d473b0feb469253c7 (patch) | |
tree | f6bae34a85276b5380e4a73f12eb8c85f2100e3a /scripts/bupa | |
parent | 178d76291fd50501092da78bd6cd38fa4b3d0469 (diff) | |
download | website-f1b0372d1cad18dd5e70d04d473b0feb469253c7.tar.xz |
Add pygments syntax highlighting
Diffstat (limited to 'scripts/bupa')
-rwxr-xr-x | scripts/bupa | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/bupa b/scripts/bupa index e87ca4c..3802982 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -29,7 +29,8 @@ class Page(object): def reST_to_html(s, id_prefix='id'): formated = core.publish_parts(s, writer_name='html4css1', settings_overrides={'footnote_references': 'superscript', - 'auto_id_prefix': str(id_prefix) + '-',}) + 'auto_id_prefix': str(id_prefix) + '-', + 'syntax_highlight': 'short'}) return formated['fragment'] def filename_to_id(file_name): |