aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-04-11 09:33:07 -0700
committerJohn MacFarlane <[email protected]>2025-04-11 09:33:07 -0700
commit01b7612a9df25fdb4a3be074b92fc847c8bb8a15 (patch)
tree747e42367a0672ab063b9628e84ef03548198a96
parentc2482b910715f0dfa3210bd77a3479dede1df4e4 (diff)
MANUAL: for pandoc lua, add note about the environment.
-rw-r--r--MANUAL.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 8e1048758..f456aae4d 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -7645,7 +7645,10 @@ Calling the pandoc executable under the name `pandoc-lua` or with
`lua` as the first argument will make it function as a standalone
Lua interpreter. The behavior is mostly identical to that of the
[standalone `lua` executable][lua standalone], version 5.4.
-For full documentation, see the [pandoc-lua] man page.
+All `pandoc.*` packages, as well as the packages `re` and `lpeg`,
+are available via global variables. Furthermore, the globals
+`PANDOC_VERSION`, `PANDOC_STATE`, and `PANDOC_API_VERSION` are
+set at startup. For full documentation, see the [pandoc-lua] man page.
[lua standalone]: https://www.lua.org/manual/5.4/manual.html#7
[pandoc-lua]: https://github.com/jgm/pandoc/blob/master/doc/pandoc-lua.md