Updated README on pandocfilters python module.

This commit is contained in:
John MacFarlane 2013-09-11 22:17:00 -07:00
parent 6a5d7cfcbe
commit 873a21170e

11
README
View file

@ -278,11 +278,12 @@ Reader options
Filters may be written in any language. `Text.Pandoc.JSON` Filters may be written in any language. `Text.Pandoc.JSON`
exports `toJSONFilter` to facilitate writing filters in Haskell. exports `toJSONFilter` to facilitate writing filters in Haskell.
Those who would prefer to write filters in python can use the Those who would prefer to write filters in python can use the
module `pandoc.py`: see <http://github.com/jgm/pandocfilters> module `pandocfilters`, installable from PyPI. See
for the module and several examples. Note that the *EXECUTABLE* <http://github.com/jgm/pandocfilters> for the module and several
will be sought in the user's `PATH`, and not in the working directory, examples. Note that the *EXECUTABLE* will be sought in the user's
if no directory is provided. If you want to run a script in the `PATH`, and not in the working directory, if no directory is
working directory, preface the filename with `./`. provided. If you want to run a script in the working directory,
preface the filename with `./`.
`-M` *KEY[=VAL]*, `--metadata=`*KEY[:VAL]* `-M` *KEY[=VAL]*, `--metadata=`*KEY[:VAL]*
: Set the metadata field *KEY* to the value *VAL* after : Set the metadata field *KEY* to the value *VAL* after