diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-08-30 15:09:54 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-08-30 15:09:54 +0200 |
commit | 9ada1defb572cacdf561e9d436a6961f8ea426e0 (patch) | |
tree | affd3c7a5148bedddee29962bd940e09ef4a939a /doc | |
parent | f1220e8601e53cf02742617847120ff52174fb67 (diff) | |
download | pandoc-9ada1defb572cacdf561e9d436a6961f8ea426e0.tar.gz |
Document fallback functions in lua filters
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua-filters.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 5d0bfaf1e..23ea59a43 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -111,6 +111,11 @@ inline element must return an inline, and a block element must remain a block element after filter application. Pandoc will throw an error if this condition is violated. +If there is no function matching the element's node type, then +the filtering system will look for a more general fallback +function. Two fallback functions are supported, `Inline` and +`Block`. Each matches elements of the respective type. + Elements without matching functions are left untouched. See [module documentation](pandoc-module.html) for a list of pandoc |