aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/Textile.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2011-01-22 17:52:25 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2011-01-22 17:53:16 -0800
commitea5cd350042f31a66ee0d59e885d34598f9cc5a1 (patch)
treeee3c7b4a1ef6f8a19f56070c5c88e6fef019ef07 /src/Text/Pandoc/Readers/Textile.hs
parenta74010a051e4cd3fee7ebfb4a632d52bb32de61d (diff)
downloadpandoc-ea5cd350042f31a66ee0d59e885d34598f9cc5a1.tar.gz
Text.Pandoc: Added jsonFilter for easy construction of scripts.
Here's an example of its use: -- removelinks.hs - removes links from document import Text.Pandoc main = interact $ jsonFilter $ bottomUp removeLink removeLink :: Inline -> Inline removeLink (Link xs _) = Emph xs removeLink x = x
Diffstat (limited to 'src/Text/Pandoc/Readers/Textile.hs')
0 files changed, 0 insertions, 0 deletions