pub fn find_code_ranges(doc: &str) -> Vec<(usize, usize)>Expand description
Find byte ranges of code regions (fenced code blocks + inline code spans). Markers inside these ranges are treated as literal text, not component markers.
Uses pulldown-cmark AST parsing with offset_iter() to accurately detect
code regions per the CommonMark spec.