Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-05-29 | pandoc.mediabag module: add items function iterating over mediabag | Albert Krewinkel | 1 | -0/+75 | |
A new function `pandoc.mediabag.items` was added to Lua module pandoc.mediabag. This allows users to lazily iterate over all media bag items, loading items into Lua one-by-one. Example: for filename, mime_type, content in pandoc.mediabag.items() do -- use media bag item. end This is a convenient alternative to using `mediabag.list` in combination with `mediabag.lookup`. | |||||
2019-05-29 | Lua Version type: shorten "version too old" message | Albert Krewinkel | 1 | -1/+1 | |
2019-05-29 | Lua: add Version type to simplify comparisons | Albert Krewinkel | 1 | -0/+154 | |
Version specifiers like `PANDOC_VERSION` and `PANDOC_API_VERSION` are turned into `Version` objects. The objects simplify version-appropriate comparisons while maintaining backward-compatibility. A function `pandoc.types.Version` is added as part of the newly introduced module `pandoc.types`, allowing users to create version objects in scripts. | |||||
2019-02-16 | T.P.Lua: split StackInstances into smaller Marshaling modules | Albert Krewinkel | 4 | -0/+519 | |