aboutsummaryrefslogtreecommitdiff
path: root/data/pandoc.List.lua
AgeCommit message (Collapse)AuthorFilesLines
2020-01-11Lua: add methods `insert`, `remove`, and `sort` to pandoc.ListAlbert Krewinkel1-0/+17
The functions `table.insert`, `table.remove`, and `table.sort` are added to pandoc.List elements. They can be used as methods, e.g. local numbers = pandoc.List {2, 3, 1} numbers:sort() -- numbers is now {1, 2, 3}
2020-01-11data/pandoc.List.lua: improve internal documentationAlbert Krewinkel1-29/+32
2020-01-11pandoc.List.lua: make `pandoc.List` a callable constructorAlbert Krewinkel1-18/+20
It is now possible to construct a new List via `pandoc.List()` instead of `pandoc.List:new()`.
2018-01-05Update copyright notices to include 2018Albert Krewinkel1-2/+2
2017-12-02Lua filters: refactor lua module handlingAlbert Krewinkel1-0/+120
The integration with Lua's package/module system is improved: A pandoc-specific package searcher is prepended to the searchers in `package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now be loaded via `require`.