MANUAL: for pandoc lua, add note about the environment.

This commit is contained in:
John MacFarlane
2025-04-11 09:33:07 -07:00
parent c2482b9107
commit 01b7612a9d
+4 -1
View File
@@ -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