diff options
author | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 11:09:00 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2013-08-08 11:09:00 -0700 |
commit | 2677e8466311e2becdd7f65f1f6c23d559db14aa (patch) | |
tree | 1dbf83aac3f2944b1b054712198676d4fb083b05 /README | |
parent | 9aa9d5cf68386acd127427cc62f6004b2a17057a (diff) | |
download | pandoc-2677e8466311e2becdd7f65f1f6c23d559db14aa.tar.gz |
Revert "Revert "Added `--filter` option.""
This reverts commit 2e5edbb27837372f658b1abbe05371be57415847.
Diffstat (limited to 'README')
-rw-r--r-- | README | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -259,6 +259,14 @@ Reader options require different kinds of images. Currently this option only affects the markdown and LaTeX readers. +`--filter=`*PATH* +: Specify an executable to be used as a filter transforming the + Pandoc AST after the input is parsed and before the output is + written. The executable should read JSON from stdin and write + JSON to stdout. The JSON must be formatted like pandoc's own + JSON input and output. Filters may be most easily created in Haskell, + using the utility function `toJsonFilter` from `Text.Pandoc`. + `--normalize` : Normalize the document after reading: merge adjacent `Str` or `Emph` elements, for example, and remove repeated `Space`s. |