Skip to main content

detect_inline_code_attr_ranges

Function detect_inline_code_attr_ranges 

Source
pub fn detect_inline_code_attr_ranges(content: &str) -> Vec<ByteRange>
Expand description

Detect Pandoc inline code attribute ranges.

Inline code attributes are written as `code`{.lang}. Returns the byte ranges of the trailing {...} attribute block only (not the backticked code itself).