path: root/doc
diff options
authorAlbert Krewinkel <>2017-08-30 15:09:54 +0200
committerAlbert Krewinkel <>2017-08-30 15:09:54 +0200
commit9ada1defb572cacdf561e9d436a6961f8ea426e0 (patch)
treeaffd3c7a5148bedddee29962bd940e09ef4a939a /doc
parentf1220e8601e53cf02742617847120ff52174fb67 (diff)
Document fallback functions in lua filters
Diffstat (limited to 'doc')
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ b/doc/
index 5d0bfaf1e..23ea59a43 100644
--- a/doc/
+++ b/doc/
@@ -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