Minor code reformatting in script examples.

This commit is contained in:
John MacFarlane
2013-08-14 22:20:41 -07:00
parent 5d2afd3894
commit b95823f4db
5 changed files with 10 additions and 5 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env python
"""Pandoc filter to convert all regular text to uppercase.
"""
Pandoc filter to convert all regular text to uppercase.
Code, link URLs, etc. are not affected.
"""
+2 -1
View File
@@ -2,7 +2,8 @@
from pandoc import toJSONFilter
import re
"""Pandoc filter that causes everything between
"""
Pandoc filter that causes everything between
'<!-- BEGIN COMMENT -->' and '<!-- END COMMENT -->'
to be ignored. The comment lines must appear on
lines by themselves, with blank lines surrounding
+2 -1
View File
@@ -2,7 +2,8 @@
from pandoc import walk, toJSONFilter
from caps import caps
"""Pandoc filter that causes emphasized text to be displayed
"""
Pandoc filter that causes emphasized text to be displayed
in ALL CAPS.
"""
+2 -1
View File
@@ -1,6 +1,7 @@
#!/usr/bin/env python
"""Pandoc filter to process code blocks with class "graphviz" into
"""
Pandoc filter to process code blocks with class "graphviz" into
graphviz-generated images.
"""
+2 -1
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env python
from pandoc import toJSONFilter, rawInline
"""Pandoc filter that causes emphasis to be rendered using
"""
Pandoc filter that causes emphasis to be rendered using
the custom macro '\myemph{...}' rather than '\emph{...}'
in latex. Other output formats are unaffected.
"""