Skip to main content

Module text_parser

Module text_parser 

Source
Expand description

Text parser - handle plain text fallback

Parses plain text segments when no inline elements match. Handles special cases like trailing spaces before newlines and consecutive backticks.

Functionsยง

parse_special_as_text
Parse a single special character as text (fallback for unmatched syntax)
parse_text
Parse plain text up to the next special character