pub fn detect_subscript_superscript_ranges(content: &str) -> Vec<ByteRange>Expand description
Detect Pandoc subscript (~x~) and superscript (^x^) ranges.
Returns byte ranges covering the full delimited span (including the
delimiter characters). Excludes ~~strikethrough~~ and superscript-like
runs of ^^. The returned ranges are sorted by start.
Note: a ^[…]^ construct will also match detect_inline_footnote_ranges.
Rules that distinguish footnotes from superscripts must check both accessors.