aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-08-14 22:20:41 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-08-14 22:20:41 -0700
commitb95823f4db6fb9943790bbffd693ca9756ca954e (patch)
tree490d7dbee58337dfe3b0b436e2025793ef1622cf /scripts
parent5d2afd389478667d0c44ddf584bd93b9377e927e (diff)
downloadpandoc-b95823f4db6fb9943790bbffd693ca9756ca954e.tar.gz
Minor code reformatting in script examples.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/caps.py3
-rwxr-xr-xscripts/comments.py3
-rwxr-xr-xscripts/deemph.py3
-rwxr-xr-xscripts/graphviz.py3
-rwxr-xr-xscripts/myemph.py3
5 files changed, 10 insertions, 5 deletions
diff --git a/scripts/caps.py b/scripts/caps.py
index e29d48854..b86cd1520 100755
--- a/scripts/caps.py
+++ b/scripts/caps.py
@@ -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.
"""
diff --git a/scripts/comments.py b/scripts/comments.py
index 5700c3485..304af1a2d 100755
--- a/scripts/comments.py
+++ b/scripts/comments.py
@@ -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
diff --git a/scripts/deemph.py b/scripts/deemph.py
index 467641b4a..f69dac5b8 100755
--- a/scripts/deemph.py
+++ b/scripts/deemph.py
@@ -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.
"""
diff --git a/scripts/graphviz.py b/scripts/graphviz.py
index 2d977079b..519a3a9cc 100755
--- a/scripts/graphviz.py
+++ b/scripts/graphviz.py
@@ -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.
"""
diff --git a/scripts/myemph.py b/scripts/myemph.py
index 0514df317..e527a0b2e 100755
--- a/scripts/myemph.py
+++ b/scripts/myemph.py
@@ -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.
"""