parseFrontmatter<CustomFrontmatter = unknown>
Parses the front matter of a given content string.
Import:
import { parseFrontmatter } from 'obsidian-dev-utils/obsidian/frontmatter';Signature:
function parseFrontmatter(content: string): CombinedFrontmatter<CustomFrontmatter>Parameters:
| Parameter | Type | Description |
|---|---|---|
content | string | The content string to parse. |
Returns: CombinedFrontmatter<CustomFrontmatter> — The parsed front matter.