aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorR. N. West (Nat) <[email protected]>2025-01-29 21:22:04 +0000
committerGitHub <[email protected]>2025-01-29 13:22:04 -0800
commitf17de990b4041cc92e637e07b2bd4ffc6760c436 (patch)
treea6bc83d908269b8911399cb88caf5a480cce7a7a /doc
parent0be07a5e4d80857c32b713ad56b158ea11db9930 (diff)
doc/lua-filters.md: Add static analysis paragraph to debugging section (#10568)
Diffstat (limited to 'doc')
-rw-r--r--doc/lua-filters.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md
index ed5ffde5b..b99e1d458 100644
--- a/doc/lua-filters.md
+++ b/doc/lua-filters.md
@@ -398,6 +398,11 @@ colon syntax (`mystring:uc_upper()`).
# Debugging Lua filters
+Many errors can be avoided by performing static analysis.
+[`luacheck`](https://github.com/rnwst/pandoc.git) may be used for this
+purpose. A Luacheck configuration file for pandoc filters is available
+at <https://github.com/rnwst/pandoc-luacheckrc>.
+
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