summaryrefslogtreecommitdiff
path: root/doc/lua-filters.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2022-07-15 21:18:21 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2022-07-15 21:18:21 +0200
commit7119fee96350afd5c81a1cbc0187282ebf81eadd (patch)
tree1f131062428c74f0ed0d1a1df8641557b849b1f5 /doc/lua-filters.md
parent12cc140272a0f2752584428ab765fb6410f29b92 (diff)
lua-filters.md: Add link to @wlupton's logging.lua.
Closes #8146.
Diffstat (limited to 'doc/lua-filters.md')
-rw-r--r--doc/lua-filters.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index 88bcf7043..5f533ecfe 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -395,6 +395,12 @@ colon syntax (`mystring:uc_upper()`).
# Debugging Lua filters
+William Lupton has written a Lua module with some handy
+functions for debugging Lua filters, including functions
+that can pretty-print the Pandoc AST elements manipulated
+by the filters: it is available at
+<https://github.com/wlupton/pandoc-lua-logging>.
+
It is possible to use a debugging interface to halt execution and
step through a Lua filter line by line as it is run inside Pandoc.
This is accomplished using the remote-debugging interface of the