summaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-26 10:33:10 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-28 16:39:52 -0800
commit346b10392f93fae682657c44399245250eddfee4 (patch)
tree12d103afaf18ad8161c6dfc43ce5e06b8696dff8 /doc/lua-filters.md
parent8b575dbf845f82c6750a71f7372bae7067502554 (diff)
Update docs on filters.
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index e9ed704ad..07de33259 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -88,11 +88,10 @@ then it would be applied like this:
pandoc --lua-filter=current-date.lua -f markdown MANUAL.txt
-The `--lua-filter` can be supplied multiple times, causing the
-filters to be applied sequentially in the order they were given.
-If other, non-Lua filters are given as well (via `--filter`),
-then those are executed *after* all Lua filters have been
-applied.
+The `--lua-filter` option may be supplied multiple times. Pandoc
+applies all filters (including JSON filters specified via
+`--filter` and lua filters specified via `--lua-filter`)
+in the order they appear on the command line.
Pandoc expects each lua file to return a list of filters. The
filters in that list are called sequentially, each on the result