class documentation

class DefListIndentProcessor(ListIndentProcessor): (source)

View In Hierarchy

Process indented children of definition list items.

Method create_item Create a new dd or li (depending on parent) and parse the block with it as the parent.
Constant ITEM_TYPES Undocumented
Constant LIST_TYPES Undocumented

Inherited from ListIndentProcessor:

Method __init__ Undocumented
Method get_level Get level of indent based on list level.
Method run Run processor. Must be overridden by subclasses.
Method test Test for block type. Must be overridden by subclasses.
Instance Variable INDENT_RE Undocumented

Inherited from BlockProcessor (via ListIndentProcessor):

Method detab Remove a tab from the front of each line of the given text.
Method lastChild Return the last child of an etree element.
Method looseDetab Remove a tab from front of lines but allowing dedented lines.
Instance Variable parser Undocumented
Instance Variable tab_length Undocumented
def create_item(self, parent, block): (source)

Create a new dd or li (depending on parent) and parse the block with it as the parent.

ITEM_TYPES: list[str] = (source)

Undocumented

Value
['dd', 'li']
LIST_TYPES: list[str] = (source)

Undocumented

Value
['dl', 'ol', 'ul']