Force _\n line-break syntax inside lists and definition lists.
When true, spans are emitted inline; when false, as block-level span_.
Suppress extra blank lines after nested blockquotes.
ReadonlynewlineDiscard the pending blank line without emitting it.
Emit the pending blank line if one exists (any tier).
Return the serialized output for use inside a block container, with trailing double-newlines collapsed to a single newline.
Return the full serialized output.
Whether the cursor is currently at the start of a line.
Push inline content. Any pending blank line is emitted first.
Push a blank line as inline content.
Push a complete block line (content + newline).
A block-tier pending blank line is flushed; a paragraph-tier pending blank line is cleared (paragraph → block needs no separator).
Push a line (content + newline) as inline content.
Request a blank line after a block element.
The blank line is emitted when the next content is pushed via push or pushBlockLine.
Request a blank line after a paragraph.
Unlike requestBlankLine, this is cleared (not emitted) when a block element follows via pushBlockLine, because no blank line is needed between a paragraph and a subsequent block element.
Mutable context used during AST-to-Wikidot serialization.
Manages an output buffer and a two-tier pending-blank-line system that ensures correct spacing between paragraphs and block-level constructs.