pub fn parse_with_diagnostics(
content: impl AsRef<str>,
) -> MdtResult<(Vec<Block>, Vec<ParseDiagnostic>)>Expand description
Parse markdown content and return blocks together with diagnostics.
Unlike parse(), this does not error on unclosed blocks — instead they
are collected as diagnostics.