summaryrefslogtreecommitdiff
path: root/sandbox/code-block-directive/pygments_code_block_directive.py
diff options
context:
space:
mode:
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-06-13 10:20:42 +0000
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>2007-06-13 10:20:42 +0000
commit37aec3754971395f373c48f5ca2a2aca4caaed96 (patch)
tree1f892c2dc24ccfe834071bebdda9d512c5497d18 /sandbox/code-block-directive/pygments_code_block_directive.py
parent2e5900fc8a1de5348802b8069ed65bb05e424263 (diff)
downloaddocutils-37aec3754971395f373c48f5ca2a2aca4caaed96.tar.gz
Added links to the README file.
self-documenting feature: literal code with syntax highlight Moved the front-end to the base dir. This way it works without installing. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@5234 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
Diffstat (limited to 'sandbox/code-block-directive/pygments_code_block_directive.py')
-rwxr-xr-xsandbox/code-block-directive/pygments_code_block_directive.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/sandbox/code-block-directive/pygments_code_block_directive.py b/sandbox/code-block-directive/pygments_code_block_directive.py
index 9095e4908..a0e7d5823 100755
--- a/sandbox/code-block-directive/pygments_code_block_directive.py
+++ b/sandbox/code-block-directive/pygments_code_block_directive.py
@@ -14,9 +14,10 @@
# 2007-06-05 Separate docutils formatter script
# Use pygments' CSS class names (like the html formatter)
# allowing the use of pygments-produced style sheets.
-# 2007-06-07 Re-include the formatting of the parsed tokens
-# (class DocutilsInterface)
-# 2007-06-08 Failsave implementation (fallback if pygments not found)
+# 2007-06-07 Merge in the formatting of the parsed tokens
+# (misnamed as docutils_formatter) as class DocutilsInterface
+# 2007-06-08 Failsave implementation (fallback to a standard literal block
+# if pygments not found)
# ========== ===========================================================
#
# ::
@@ -53,7 +54,7 @@ unstyled_tokens = ['']
# This interface class combines code from
# pygments.formatters.html and pygments.formatters.others.
#
-# It does not require anything of docutils and could alse become a part of
+# It does not require anything of docutils and could also become a part of
# pygments::
class DocutilsInterface(object):