wdpr
    Preparing search index...

    Module parser/rules/block/heading

    Block rule for Wikidot headings: + Heading through ++++++ Heading.

    Headings are written with one to six + characters at the start of a line, followed by mandatory whitespace and then inline content:

    + H1 heading
    ++ H2 heading
    +++ H3 heading

    An optional * immediately after the + markers hides the heading from the table of contents:

    +* Hidden H1
    

    Seven or more + characters are NOT valid headings in Wikidot and the rule will fail, letting them fall through to paragraph parsing.

    Non-hidden headings are registered in ctx.tocEntries for later use by the table-of-contents module.

    Variables

    headingRule