lua-filters.md: Add link to @wlupton's logging.lua.

Closes #8146.
This commit is contained in:
John MacFarlane 2022-07-15 21:18:21 +02:00
parent 12cc140272
commit 7119fee963

View file

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