summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2017-08-30 15:09:54 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2017-08-30 15:09:54 +0200
commit9ada1defb572cacdf561e9d436a6961f8ea426e0 (patch)
treeaffd3c7a5148bedddee29962bd940e09ef4a939a /doc
parentf1220e8601e53cf02742617847120ff52174fb67 (diff)
Document fallback functions in lua filters
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md5
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