pub fn value_span(line: &str) -> Option<(usize, usize)>Expand description
Byte span of the semantic value on a frontmatter line: the checkable content
with a trailing comment excluded. For a quoted scalar the span ends at the
closing quote (or the trimmed end of line if the quote is unterminated), so
# and spaces inside it are literal, and the quote characters themselves
are never part of the span. None when the line carries no checkable value,
including an empty quoted value ('').