| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-12-02 | Lua filters: refactor lua module handling | Albert Krewinkel | |
| 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`. | |||
| 2017-12-01 | List.lua: add missing fixes as discussed in #4099 | Albert Krewinkel | |
| The changes were missing due to an error while using git. | |||
| 2017-11-29 | List.lua: add _VERSION to module, drop unused var | Albert Krewinkel | |
| 2017-11-28 | Add basic lua List module (#4099) | Albert Krewinkel | |
| The List module is automatically loaded, but not assigned to a global variable. It can be included in filters by calling `List = require 'List'`. Lists of blocks, lists of inlines, and lists of classes are now given `List` as a metatable, making working with them more convenient. E.g., it is now possible to concatenate lists of inlines using Lua's concatenation operator `..` (requires at least one of the operants to have `List` as a metatable): function Emph (emph) local s = {pandoc.Space(), pandoc.Str 'emphasized'} return pandoc.Span(emph.content .. s) end Closes: #4081 | |||
