git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: complete, fix MetaValue documentation
aed7aecAlbert Krewinkel
doc/lua-filter-types-and-objects.md+47−5
@@ -13,9 +13,9 @@ meta
13
13
14## Meta
14## Meta
15
15
16−Meta information on a document; string-indexed collection of [meta
16+Meta information on a document; string-indexed collection of
17−values](#metavalue). This is represented as a string-indexed table containing
17+[meta values](#metavalue). This is represented as a
18−[meta values](#MetaValue).
18+string-indexed table containing [meta values](#MetaValue).
19
19
20
20
21## MetaValue
21## MetaValue
@@ -24,8 +24,50 @@ Document meta information items.
24
24
25### MetaBlocks
25### MetaBlocks
26
26
27−blocks
28−: a list of blocks usable as meta value ([list] of [blocks])
27+A list of blocks usable as meta value ([list] of [blocks])
28+
29+Fields:
30+
31+tag, t
32+: the literal `MetaBlocks` (string)
33+
34+### MetaBool
35+
36+Plain Lua boolean value (boolean)
37+
38+### MetaInlines
39+
40+List of inlines used in metadata ([list] of [inline]s)
41+
42+Fields:
43+
44+tag, t
45+: the literal `MetaBlocks` (string)
46+
47+### MetaList
48+
49+A list of other [meta value]s. ([list])
50+
51+Fields:
52+
53+tag, t
54+: the literal `MetaList` (string)
55+
56+### MetaMap
57+
58+A string-indexed map of meta-values. (table)
59+
60+Fields:
61+
62+tag, t
63+: the literal `MetaMap` (string)
64+
65+*Note*: The fields will be shadowed if the map contains a field
66+with the same name as those listed.
67+
68+### MetaString
69+
70+Plain Lua string value (string)
29
71
30
72
31## Block
73## Block