pub fn lint_markdown(
doc_source: &str,
_opts: &LintOptions,
) -> Vec<(Snippet, Vec<Diagnostic>)>Expand description
Lint all ```gram snippets in a Markdown document.
Returns one (Snippet, diagnostics) pair per fenced block. Diagnostic ranges
are relative to the snippet source. To map back to host-document line numbers
add snippet.fence_start_line + 1 to each diagnostic’s line values.