Const
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:
WHITESPACE + UNDERSCORE + NEWLINE/EOF
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.
_preservedTrailingBreak = true
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:
WHITESPACE + UNDERSCORE + NEWLINE/EOFUNDERSCORE (at lineStart) + NEWLINE/EOFBoth 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 = trueso the paragraph postprocessor does not strip them.