aboutsummaryrefslogtreecommitdiff
path: root/doc/lua-filter-types-and-objects.md
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2018-10-15 21:10:05 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2018-10-15 21:10:05 +0200
commitaed7aecfc305f1efffce635a0be20a237bb5003d (patch)
tree1687cdbcbb5f83705ff0ec4962f2301cf7353664 /doc/lua-filter-types-and-objects.md
parent8a00b30e40b7a799c3c4e78528d4d257af48891a (diff)
downloadpandoc-aed7aecfc305f1efffce635a0be20a237bb5003d.tar.gz
Lua filter docs: complete, fix MetaValue documentation
Diffstat (limited to 'doc/lua-filter-types-and-objects.md')
-rw-r--r--doc/lua-filter-types-and-objects.md52
1 files changed, 47 insertions, 5 deletions
diff --git a/doc/lua-filter-types-and-objects.md b/doc/lua-filter-types-and-objects.md
index 091a795df..d3f183501 100644
--- a/doc/lua-filter-types-and-objects.md
+++ b/doc/lua-filter-types-and-objects.md
@@ -13,9 +13,9 @@ meta
## Meta
-Meta information on a document; string-indexed collection of [meta
-values](#metavalue). This is represented as a string-indexed table containing
-[meta values](#MetaValue).
+Meta information on a document; string-indexed collection of
+[meta values](#metavalue). This is represented as a
+string-indexed table containing [meta values](#MetaValue).
## MetaValue
@@ -24,8 +24,50 @@ Document meta information items.
### MetaBlocks
-blocks
-: a list of blocks usable as meta value ([list] of [blocks])
+A list of blocks usable as meta value ([list] of [blocks])
+
+Fields:
+
+tag, t
+: the literal `MetaBlocks` (string)
+
+### MetaBool
+
+Plain Lua boolean value (boolean)
+
+### MetaInlines
+
+List of inlines used in metadata ([list] of [inline]s)
+
+Fields:
+
+tag, t
+: the literal `MetaBlocks` (string)
+
+### MetaList
+
+A list of other [meta value]s. ([list])
+
+Fields:
+
+tag, t
+: the literal `MetaList` (string)
+
+### MetaMap
+
+A string-indexed map of meta-values. (table)
+
+Fields:
+
+tag, t
+: the literal `MetaMap` (string)
+
+*Note*: The fields will be shadowed if the map contains a field
+with the same name as those listed.
+
+### MetaString
+
+Plain Lua string value (string)
## Block