wdpr
    Preparing search index...

    Module parser/rules/inline

    Central registry and priority-ordered list of all inline parsing rules.

    This module imports every inline rule, re-exports them for individual use, and assembles them into the inlineRules array, which defines the order in which rules are attempted during inline parsing.

    Rule ordering matters: earlier rules take priority when multiple rules could match the same token. For example, formatting rules (bold, italic, etc.) are tried before link rules, and the text/fallback rules are placed last as catch-alls.

    The fallbackRule is exported separately as inlineFallbackRule because it matches any token type and is used as a last resort when no other rule succeeds. It is NOT included in the inlineRules array to prevent it from short-circuiting more specific rules.

    Variables

    inlineRules

    References

    anchorNameRule → anchorNameRule
    anchorRule → anchorRule
    backslashLineBreakRule → backslashLineBreakRule
    bibciteRule → bibciteRule
    boldRule → boldRule
    closeSpanRule → closeSpanRule
    colorRule → colorRule
    commentRule → commentRule
    equationRefRule → equationRefRule
    exprRule → exprRule
    fallbackRule → fallbackRule
    footnoteRule → footnoteRule
    guillemetRule → guillemetRule
    ifExprRule → ifExprRule
    ifRule → ifRule
    imageRule → imageRule
    inlineFallbackRule → fallbackRule
    italicRule → italicRule
    linkAnchorRule → linkAnchorRule
    linkSingleRule → linkSingleRule
    linkStarRule → linkStarRule
    linkTripleRule → linkTripleRule
    mathInlineRule → mathInlineRule
    monospaceRule → monospaceRule
    newlineLineBreakRule → newlineLineBreakRule
    rawRule → rawRule
    sizeRule → sizeRule
    spanRule → spanRule
    strikethroughRule → strikethroughRule
    subscriptRule → subscriptRule
    superscriptRule → superscriptRule
    textRule → textRule
    underlineRule → underlineRule
    underscoreLineBreakRule → underscoreLineBreakRule
    userRule → userRule