Expand description
Parsing for mark/highlight (==text==).
This is a Pandoc non-default extension. Syntax: ==text== produces highlighted text.
Rules (Pandoc parity):
- Must start with exactly two
=delimiters - Content cannot be empty or all whitespace
- Content cannot start or end with whitespace
- Closers are matched greedily at the first valid
==
Functionsยง
- emit_
mark - Emit a mark node with its content.
- try_
parse_ mark - Try to parse mark/highlight (==text==). Returns: (total_len, inner_content)