Provides the two lowest-priority inline rules: textRule and fallbackRule.
These rules act as catch-alls that convert unrecognized tokens into
plain "text" AST elements, ensuring no token is ever silently dropped
during inline parsing.
textRule handles TEXT and WHITESPACE tokens specifically and is
included in the main inlineRules array as the last entry before
the fallback.
fallbackRule has an empty startTokens array, which means it matches
ANY token type. It is exported separately as inlineFallbackRule and
is NOT included in the inlineRules array to prevent it from
short-circuiting more specific rules. Instead, it is invoked explicitly
by the parser when no other rule matches.
Provides the two lowest-priority inline rules:
textRuleandfallbackRule.These rules act as catch-alls that convert unrecognized tokens into plain
"text"AST elements, ensuring no token is ever silently dropped during inline parsing.textRulehandlesTEXTandWHITESPACEtokens specifically and is included in the maininlineRulesarray as the last entry before the fallback.fallbackRulehas an emptystartTokensarray, which means it matches ANY token type. It is exported separately asinlineFallbackRuleand is NOT included in theinlineRulesarray to prevent it from short-circuiting more specific rules. Instead, it is invoked explicitly by the parser when no other rule matches.