summaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2022-10-21 19:11:45 +0200
committerGitHub <noreply@github.com>2022-10-21 10:11:45 -0700
commite243cd696f97410ba7d25ffd2800936c16d160bf (patch)
tree108ded93e77371350a407445799a25e90504e64f /doc/lua-filters.md
parent296788ec2be20539ed3450adc4569a94b0d91c49 (diff)
Lua: add pandoc.scaffolding.Writer (#8377)
This can be used to reduce boilerplate in custom writers.
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 90daa1365..6435280e6 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -5167,6 +5167,19 @@ Returns
[Doc]: #type-doc
+# Module pandoc.scaffolding
+
+Scaffolding for custom writers.
+
+## Writer {#pandoc.scaffolding.writer}
+
+A structure to be used as a `Writer` function; the construct
+handles most of the boilerplate, expecting only render functions
+for all AST elements. See the documentation for custom writers for
+details.
+
+
+
# Module pandoc.template
Handle pandoc templates.