Skip to main content

is_fence_close

Function is_fence_close 

Source
fn is_fence_close(line: &str, open: FenceOpen) -> bool
Expand description

Recognise a closing fence: same marker char as open, at least open.width repetitions, optional leading indent up to 3 spaces, nothing but whitespace after the run.