wdpr
    Preparing search index...

    Module parser/rules

    Aggregated exports for all parser rules (block and inline).

    The parser uses a rule-based architecture where each syntactic construct (heading, list, bold, link, etc.) is defined as a separate rule. Rules are organized into two categories:

    • Block rules: Match constructs that occupy one or more full lines (headings, lists, blockquotes, horizontal rules, paragraphs, etc.)
    • Inline rules: Match constructs within a line of text (bold, italic, links, raw/code spans, etc.)

    Each category also has a fallback rule that is used when no other rule matches, ensuring that all input is consumed.

    References

    blockFallbackRule → paragraphRule
    blockquoteRule → blockquoteRule
    BlockRule → BlockRule
    blockRules → blockRules
    boldRule → boldRule
    checkToken → checkToken
    currentToken → currentToken
    hasClosingMarkerBeforeNewline → hasClosingMarkerBeforeNewline
    headingRule → headingRule
    horizontalRuleRule → horizontalRuleRule
    inlineFallbackRule → fallbackRule
    InlineRule → InlineRule
    inlineRules → inlineRules
    isAtEnd → isAtEnd
    italicRule → italicRule
    linkAnchorRule → linkAnchorRule
    linkSingleRule → linkSingleRule
    linkTripleRule → linkTripleRule
    listRule → listRule
    monospaceRule → monospaceRule
    paragraphRule → paragraphRule
    ParseContext → ParseContext
    peekToken → peekToken
    rawRule → rawRule
    RuleResult → RuleResult
    strikethroughRule → strikethroughRule
    subscriptRule → subscriptRule
    superscriptRule → superscriptRule
    textRule → textRule
    underlineRule → underlineRule