aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua/PandocLua.hs
AgeCommit message (Collapse)AuthorFilesLines
2021-01-26Lua: always load built-in Lua scripts from default data-dirAlbert Krewinkel1-12/+19
The Lua modules `pandoc` and `pandoc.List` are now always loaded from the system's default data directory. Loading from a different directory by overriding the default path, e.g. via `--data-dir`, is no longer supported to avoid unexpected behavior and to address security concerns.
2021-01-08Update copyright notices for 2021 (#7012)Albert Krewinkel1-1/+1
2020-04-17API change: use new type PandocLua for all pandoc Lua operationsAlbert Krewinkel1-0/+134
The new type `PandocLua` is an instance of the `PandocMonad` typeclass and can thus be used in a way similar to `PandocIO`.