aboutsummaryrefslogtreecommitdiff
path: root/test/lua/strmacro.lua
AgeCommit message (Collapse)AuthorFilesLines
2017-04-15Lua filter: revert to non-destructuring filtersAlbert Krewinkel1-3/+3
We want to provide an interface familiar to users of other filtering libraries.
2017-04-12Lua filter: use destructured functions for inline filtersAlbert Krewinkel1-4/+5
Instead of taking the whole inline element, forcing users to destructure it themselves, the components of the elements are passed to the filtering functions.
2017-03-20Lua filters (#3514)Albert Krewinkel1-0/+10
* Add `--lua-filter` option. This works like `--filter` but takes pathnames of special lua filters and uses the lua interpreter baked into pandoc, so that no external interpreter is needed. Note that lua filters are all applied after regular filters, regardless of their position on the command line. * Add Text.Pandoc.Lua, exporting `runLuaFilter`. Add `pandoc.lua` to data files. * Add private module Text.Pandoc.Lua.PandocModule to supply the default lua module. * Add Tests.Lua to tests. * Add data/pandoc.lua, the lua module pandoc imports when processing its lua filters. * Document in MANUAL.txt.