markdownMetadata(options?: MarkdownMetadataOptions): (pages: any[]) => void
Creates a markdown metadata preprocessor
This preprocessor:
- Extracts the excerpt from content before the marker
- Calculates days elapsed since the page date (using Temporal API)
- Sets
page.data.excerptandpage.data.elapseddays
optional
options: MarkdownMetadataOptions
Configuration options