pub fn closing_directive_depth(trimmed: &str) -> Option<usize>Expand description
If the line is a closing directive (::, :::, …), return the depth (colon count).
Public since 0.10.0: source-scanning consumers (e.g. span re-scan passes
in downstream tooling) pair this with opening_directive.