mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-27 09:55:57 +00:00
Minor code reformatting in script examples.
This commit is contained in:
+2
-1
@@ -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
@@ -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
@@ -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
@@ -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
@@ -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.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user