From c964f5538afa9492ac77969e7ac00f44e6348de1 Mon Sep 17 00:00:00 2001 From: gryf Date: Mon, 20 May 2019 17:15:22 +0200 Subject: [PATCH] Make css class names short --- rst2html5.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rst2html5.py b/rst2html5.py index 6f1856b..10807a3 100644 --- a/rst2html5.py +++ b/rst2html5.py @@ -21,7 +21,7 @@ The output also conforms to XHTML 1.0 transitional """ try: - import locale # module missing in Jython + import locale # module missing in Jython locale.setlocale(locale.LC_ALL, '') except locale.Error: pass @@ -32,4 +32,6 @@ description = (u'Generates HTML 5 documents from standalone ' u'reStructuredText sources ' + default_description) -publish_cmdline(writer_name='html5', description=description) + +publish_cmdline(writer_name='html5', description=description, + settings_overrides={'syntax_highlight': 'short'})