wdpr
    Preparing search index...

    Module parser/rules/inline/underline

    Parses the Wikidot underline formatting syntax: __text__.

    Underline text is delimited by double underscores. Unlike most inline formatting markers (bold, italic, etc.) which require the closing marker on the same line, underline markers can span multiple lines within the same paragraph. The closing marker must appear before a paragraph break (blank line).

    Single newlines within underlined content are converted to <br /> elements, matching Wikidot's multiline underline behavior.

    If no closing __ is found before a paragraph break, the opening marker is emitted as literal text.

    Empty underline (____) is silently discarded by Wikidot (produces no output).

    Renders as a <u> element in HTML.

    Produces a "container" AST element with type: "underline".

    Variables

    underlineRule