diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-01 17:58:12 +0100 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2017-12-01 17:58:12 +0100 |
commit | 6640506ddc0ab848824d818a363c2e685b8b31a5 (patch) | |
tree | 75c7cc09e5f2d7a835dcdb10c0f48e1ae66b8fee /doc | |
parent | 5026dfaedf4a8043fd1d76c1b7da8880770f9255 (diff) | |
download | pandoc-6640506ddc0ab848824d818a363c2e685b8b31a5.tar.gz |
Lua/StackInstances: push Pandoc and Meta via constructor
Pandoc and Meta elements are now pushed by calling the respective
constructor functions of the pandoc Lua module. This makes serialization
consistent with the way blocks and inlines are pushed to lua and allows
to use List methods with the `blocks` value.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lua-filters.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/lua-filters.md b/doc/lua-filters.md index 8cdb96194..11643da84 100644 --- a/doc/lua-filters.md +++ b/doc/lua-filters.md @@ -617,6 +617,17 @@ Lua functions for pandoc scripts. `meta`: : document meta data +## Meta + +[`Meta (table)`]{#Meta} + +: Create a new Meta object. + + Parameters: + + `table`: + : table containing document meta information + ## MetaValue [`MetaBlocks (blocks)`]{#MetaBlocks} |