aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Lua/Module/Types.hs
AgeCommit message (Collapse)AuthorFilesLines
2019-06-12Lua: add a `clone()` method to all AST elements (#5572)Albert Krewinkel1-0/+46
Closes: #5568
2019-05-29Lua: add Version type to simplify comparisonsAlbert Krewinkel1-0/+28
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.