Document fallback functions in lua filters

This commit is contained in:
Albert Krewinkel 2017-08-30 15:09:54 +02:00
parent f1220e8601
commit 9ada1defb5
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -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