aboutsummaryrefslogtreecommitdiff
path: root/test/lua/smallcaps-title.lua
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2019-05-19 15:26:00 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2019-05-29 10:07:43 +0200
commit505f5bf5d951a5c4342f7acce9bea5f260dc9d78 (patch)
tree3b201baedf4003cdb17fa58c444bbb158faf213d /test/lua/smallcaps-title.lua
parentd07ed83d705df491bba7b295bd5e80629d971685 (diff)
downloadpandoc-505f5bf5d951a5c4342f7acce9bea5f260dc9d78.tar.gz
Lua: add Version type to simplify comparisons
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.
Diffstat (limited to 'test/lua/smallcaps-title.lua')
0 files changed, 0 insertions, 0 deletions