‹›
markdown.extensions.sane_lists
¶
Modify the behavior of Lists in Python-Markdown to act in a sane manor.
See documentation for details.
Modules:
-
blockparser–The block parser handles basic parsing of Markdown blocks. It doesn’t concern
Classes:
-
SaneOListProcessor–Override
SIBLING_TAGSto not includeuland setLAZY_OLtoFalse. -
SaneUListProcessor–Override
SIBLING_TAGSto not includeol. -
SaneListExtension–Add sane lists to Markdown.
‹›
markdown.extensions.sane_lists.SaneOListProcessor(parser: blockparser.BlockParser)
¶
Bases: OListProcessor
Override SIBLING_TAGS to not include ul and set LAZY_OL to False.
Attributes:
-
SIBLING_TAGS–Exclude
ulfrom list of siblings. -
LAZY_OL–Disable lazy list behavior.
‹›
markdown.extensions.sane_lists.SaneUListProcessor(parser: blockparser.BlockParser)
¶
Bases: UListProcessor
Override SIBLING_TAGS to not include ol.
Attributes:
-
SIBLING_TAGS–Exclude
olfrom list of siblings.

