git.iko.soy/typeable/pandoc
on master help sign in
Lua filter docs: document list attributes
1ac87b4Albert Krewinkel
doc/lua-filter-types-and-objects.md+27−3
@@ -166,7 +166,16 @@ items
166: list items ([list] of [blocks])
166: list items ([list] of [blocks])
167
167
168listAttributes
168listAttributes
169−: list parameters
169+: list parameters (ListAttributes)
170+
171+start
172+: alias for `listAttributes.start` (integer)
173+
174+style
175+: alias for `listAttributes.style` (string)
176+
177+delimiter
178+: alias for `listAttributes.delimiter` (string)
170
179
171tag, t
180tag, t
172: the literal `OrderedList` (string)
181: the literal `OrderedList` (string)
@@ -176,7 +185,7 @@ tag, t
176A paragraph
185A paragraph
177
186
178content
187content
179−: inline content
188+: inline content ([list] of [inlines])
180
189
181tag, t
190tag, t
182: the literal `Para` (string)
191: the literal `Para` (string)
@@ -186,7 +195,7 @@ tag, t
186Plain text, not a paragraph
195Plain text, not a paragraph
187
196
188content
197content
189−: inline content
198+: inline content ([list] of [inlines])
190
199
191tag, t
200tag, t
192: the literal `Plain` (string)
201: the literal `Plain` (string)
@@ -490,6 +499,21 @@ note_num
490hash
499hash
491: hash (integer)
500: hash (integer)
492
501
502+## ListAttributes
503+List attributes
504+
505+start
506+: number of the first list item (integer)
507+
508+style
509+: style used for list numbers; possible values are `DefaultStyle`,
510+ `Example`, `Decimal`, `LowerRoman`, `UpperRoman`,
511+ `LowerAlpha`, and `UpperAlpha` (string)
512+
513+delimiter
514+: delimiter of list numbers; one of `DeaultDelim`, `Period`,
515+ `OneParen`, and `TwoParens` (string)
516+
493
517
494[block]: #block
518[block]: #block
495[blocks]: #block
519[blocks]: #block