Lua filter docs: document list attributes

This commit is contained in:
Albert Krewinkel 2018-10-11 22:30:40 +02:00
parent 5f6f2c69f5
commit 1ac87b487f
No known key found for this signature in database
GPG key ID: 388DC0B21F631124

View file

@ -166,7 +166,16 @@ items
: list items ([list] of [blocks])
listAttributes
: list parameters
: list parameters (ListAttributes)
start
: alias for `listAttributes.start` (integer)
style
: alias for `listAttributes.style` (string)
delimiter
: alias for `listAttributes.delimiter` (string)
tag, t
: the literal `OrderedList` (string)
@ -176,7 +185,7 @@ tag, t
A paragraph
content
: inline content
: inline content ([list] of [inlines])
tag, t
: the literal `Para` (string)
@ -186,7 +195,7 @@ tag, t
Plain text, not a paragraph
content
: inline content
: inline content ([list] of [inlines])
tag, t
: the literal `Plain` (string)
@ -490,6 +499,21 @@ note_num
hash
: hash (integer)
## ListAttributes
List attributes
start
: number of the first list item (integer)
style
: style used for list numbers; possible values are `DefaultStyle`,
`Example`, `Decimal`, `LowerRoman`, `UpperRoman`,
`LowerAlpha`, and `UpperAlpha` (string)
delimiter
: delimiter of list numbers; one of `DeaultDelim`, `Period`,
`OneParen`, and `TwoParens` (string)
[block]: #block
[blocks]: #block