Expand description
Parsing for strikeout (strikethrough)
This is a Pandoc extension that’s also part of GitHub Flavored Markdown.
Syntax: text produces strikethrough text.
Rules:
- Must have exactly 2 tildes on each side
- Content cannot be empty
- Tildes cannot have whitespace immediately inside
Functions§
- emit_
strikeout - Emit a strikeout node with its content
- try_
parse_ strikeout - Try to parse strikeout (
text) Returns: (total_len, inner_content)