summaryrefslogtreecommitdiff
path: root/sandbox/code-block-directive/rst2html-highlight
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/code-block-directive/rst2html-highlight')
-rwxr-xr-xsandbox/code-block-directive/rst2html-highlight17
1 files changed, 9 insertions, 8 deletions
diff --git a/sandbox/code-block-directive/rst2html-highlight b/sandbox/code-block-directive/rst2html-highlight
index d80b87ec8..ecfa61574 100755
--- a/sandbox/code-block-directive/rst2html-highlight
+++ b/sandbox/code-block-directive/rst2html-highlight
@@ -1,17 +1,18 @@
#!/usr/bin/python
+# coding: utf-8
# rst2html-highlight
# ==================
-#
+#
# Docutils front-end with syntax highlight.
-#
-# :Author: David Goodger, the Pygments team, Günter Milde
+#
+# :Author: David Goodger, Georg Brandl, Günter Milde
# :Date: $Date: 2008-05-22 08:42:52 +0200 (Do, 22. Mai 2008) $
# :Copyright: This module has been placed in the public domain.
-#
+#
# This is a merge of the docutils_ `rst2html` front end with an extension
# suggestion taken from the pygments_ documentation.
-#
+#
# ::
"""
@@ -19,13 +20,13 @@ A front end to docutils, producing HTML with syntax colouring using pygments
Generates (X)HTML documents from standalone reStructuredText sources. Uses
`pygments` to parse and mark up the content of ``.. code-block::` directives.
-Needs an adapted stylesheet
+Needs an adapted stylesheet
"""
# Requirements
# ------------
-#
-# ::
+#
+# ::
try:
import locale