From 9ada1defb572cacdf561e9d436a6961f8ea426e0 Mon Sep 17 00:00:00 2001
From: Albert Krewinkel <albert@zeitkraut.de>
Date: Wed, 30 Aug 2017 15:09:54 +0200
Subject: [PATCH] Document fallback functions in lua filters

---
 doc/lua-filters.md | 5 +++++
 1 file changed, 5 insertions(+)

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