pub fn parse_document(content: &str) -> ParsedDocExpand description
Parse a complete MDX document, extracting frontmatter and content.
This is the main entry point for parsing MDX content. It extracts
YAML frontmatter from the beginning of the document and parses the
remaining content into a tree of DocNode elements.