Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2020-01-11 | Lua: add methods `insert`, `remove`, and `sort` to pandoc.List | Albert Krewinkel | 1 | -40/+80 | |
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-11 | pandoc.List.lua: make `pandoc.List` a callable constructor | Albert Krewinkel | 1 | -0/+9 | |
It is now possible to construct a new List via `pandoc.List()` instead of `pandoc.List:new()`. | |||||
2020-01-11 | Add tests for pandoc.List module | Albert Krewinkel | 1 | -0/+111 | |