UnorderedListBuilder
(mark)¶Constructor:
__init__
(mark)¶Create an unordered list with constant mark text.
Parameters: | mark (str) – Mark to prepend to each list item. |
---|
Methods:
begin
(decoder, style)Begin a list. get_mark
(value)item
(decoder, style[, value])Begin a list item.
Methods
UnorderedListBuilder.
begin
(decoder, style)Begin a list.
Parameters:
- decoder (StructuredTextDecoder) – Decoder.
- style (dict) – Style dictionary that applies over the entire list.
UnorderedListBuilder.
item
(decoder, style, value=None)Begin a list item.
Parameters:
- decoder (StructuredTextDecoder) – Decoder.
- style (dict) – Style dictionary that applies over the list item.
- value (str) – Optional value of the list item. The meaning is list-type dependent.