git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: complete, fix MetaValue documentation
commitaed7aecfc305f1efffce635a0be20a237bb5003d authorAlbert Krewinkel <albert@zeitkraut.de> dateMon 15 Oct 2018, 21:10 (8 years ago) parent8a00b30
1 file changed+47−5
doc/lua-filter-types-and-objects.md+47−5
doc/lua-filter-types-and-objects.md+47−5
@@ -13,9 +13,9 @@ meta
1313
1414## Meta
1515
16−Meta information on a document; string-indexed collection of [meta
17−values](#metavalue). This is represented as a string-indexed table containing
18−[meta values](#MetaValue).
16+Meta information on a document; string-indexed collection of
17+[meta values](#metavalue). This is represented as a
18+string-indexed table containing [meta values](#MetaValue).
1919
2020
2121## MetaValue
@@ -24,8 +24,50 @@ Document meta information items.
2424
2525### MetaBlocks
2626
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)
2971
3072
3173## Block