fn collect_code_regions(node: &Node, regions: &mut Vec<Range<usize>>)
Collect fenced and inline code positions from the MDX-aware syntax tree.