def parse_markdown_to_docx(md_file: Path, doc: Document): """Parse a markdown file and add formatted content to the DOCX document.""" ...