pub fn parse_or_empty(content: &str) -> Result<ParsedFile, Error>Expand description
Parse a document, treating “no metadata block” as an empty one.
Only a malformed metadata block is an error; a document with none at all parses to an empty mapping and a body of the whole text.