Expand description
Parsing for superscript (^text^)
This is a Pandoc extension. Syntax: ^text^ produces superscript text.
Rules:
- Must have exactly 1 caret on each side
- Content cannot be empty
- Carets cannot have whitespace immediately inside
- Must not be confused with ^[…] (inline footnotes)
Functions§
- emit_
superscript - Emit a superscript node with its content
- try_
parse_ superscript - Try to parse superscript (^text^) Returns: (total_len, inner_content)