Expand description
Markdown and metadata parsing.
Structs§
- Extracted
Frontmatter - Represents extracted frontmatter content.
- Parsed
Document - Represents a parsed document with its item and body content.
- RawFrontmatter
- Raw frontmatter structure for deserialization.
Functions§
- extract_
body - Extracts just the body content after the frontmatter (FR-064).
- extract_
frontmatter - Extracts YAML frontmatter from Markdown content.
- has_
frontmatter - Checks if content has frontmatter (starts with
---). - parse_
document - Parses a Markdown file and returns the item and body.
- parse_
markdown_ file - Parses a Markdown file and extracts the item.
- update_
frontmatter - Updates the YAML frontmatter in content while preserving the body (FR-064).