wdpr
    Preparing search index...

    Module parser/rules/inline/monospace

    Parses the Wikidot monospace (teletype) formatting syntax: {{text}}.

    Monospace text is delimited by double curly braces. The opening and closing markers must appear on the same line. If no closing }} is found before a newline, the opening marker is emitted as literal text.

    Note: the opening marker is MONO_MARKER ({{) and the closing marker is MONO_CLOSE (}}). These are distinct token types because { and } have different lexer significance in some contexts.

    Monospace is a "container" element, meaning it can nest other inline formatting within its body. It renders as a <tt> element in HTML.

    Wikidot syntax: {{monospace text}}

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

    Variables

    monospaceRule