wdpr
    Preparing search index...

    Module parser/rules/block/blockquote

    Block rule for Wikidot-style blockquotes using > markers.

    Wikidot blockquotes are written with one or more > characters at the start of a line, followed by a mandatory space and then the content:

    > First level
    >> Second level
    > Back to first

    Key behaviours:

    • The depth is determined by the number of consecutive > characters.
    • A space after the > markers is required; lines like >No space are consumed but silently discarded from output.
    • An empty line (just > ) within the same depth acts as a paragraph separator inside the blockquote.
    • Nesting is handled by the generic processDepths utility, which converts flat depth-annotated rows into a recursive tree structure.
    • Maximum depth is capped at MAX_BLOCKQUOTE_DEPTH (30) to guard against pathological input.

    Variables

    blockquoteRule