diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-05 22:37:49 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-05 22:38:40 +0100 |
commit | 1fa6e53425cd81bf4ec74e3362b8484491472194 (patch) | |
tree | a857cf267db306965f7265a1b39b60121756b994 | |
parent | 7a70a46c0319f279fdee3926abff08922be2f02c (diff) | |
download | pandoc-1fa6e53425cd81bf4ec74e3362b8484491472194.tar.gz |
doc/lua-filters.md: add section on global modules, including lpeg
-rw-r--r-- | doc/lua-filters.md | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index e7cdd256d..e9a121f50 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -245,6 +245,16 @@ variables. variable is of type [CommonState] and is read-only. +## Global modules + +There are two modules which are preloaded and accessible through +global variables. The first is `pandoc`, which is described in the +next section. The other is `lpeg`, a package based on Parsing +Expression Grammars (PEG). See the official [LPeg homepage] for +details. + +[LPeg homepage]: http://www.inf.puc-rio.br/~roberto/lpeg/ + # Pandoc Module The `pandoc` Lua module is loaded into the filter's Lua |