Expand description
Parsing for subscript (text)
This is a Pandoc extension.
Syntax: text produces subscript text.
Rules:
- Must have exactly 1 tilde on each side
- Content cannot be empty
- Tildes cannot have whitespace immediately inside
- Must not be confused with ~~ (strikeout)
Functionsยง
- emit_
subscript - Emit a subscript node with its content
- try_
parse_ subscript - Try to parse subscript (
text) Returns: (total_len, inner_content)