wdpr
    Preparing search index...
    underscoreLineBreakRule: InlineRule = ...

    Inline rule for underscore-at-end-of-line line breaks.

    Wikidot syntax: _ followed by newline (space + underscore + newline), or _ at the start of a line followed by newline.

    This rule handles two token patterns:

    • Pattern 1: WHITESPACE + UNDERSCORE + NEWLINE/EOF
    • Pattern 2: UNDERSCORE (at lineStart) + NEWLINE/EOF

    Both patterns consume the newline as part of the line-break to prevent the newline rule from producing a duplicate break.

    All line-break elements are marked with _preservedTrailingBreak = true so the paragraph postprocessor does not strip them.