MarkdownDocument
Structure representing a complete Markdown document with optional frontmatter and sections.
Signature
typescript
interface MarkdownDocument { frontmatter?: Record<string, unknown>; sections: MarkdownSection[] }
Parameters
- frontmatter · object
Optional frontmatter data for the document
- sectionsRequired · MarkdownSection[]
Array of sections that make up the document content