Skip to main content

is_fenced_row

Function is_fenced_row 

Source
pub fn is_fenced_row(fences: &[usize], row: usize) -> bool
Expand description

Returns whether row sits inside a fenced code block.

fences is the sorted output of fence_rows; the query is O(log F) via partition_point. Counts only markers strictly above row, matching the previous per-call scan semantics.