wdpr
    Preparing search index...

    Module parser/rules/block/list

    Block rule for Wikidot marker-based lists (* item, # item).

    Wikidot lists use leading * (bullet) or # (numbered) markers at the start of a line. Nesting is achieved by prepending spaces:

    * Item 1
    * Nested bullet
    # Nested numbered
    * Item 2

    The depth of each item is determined by the number of leading spaces before the marker. Mixed bullet/numbered lists are supported: when the list type changes at the same depth, a new sub-list is created.

    The flat depth-annotated items are converted into a recursive tree by processDepths(), then transformed into nested list AST elements by buildListElement().

    Maximum nesting depth is capped at MAX_LIST_DEPTH (20).

    Variables

    listRule