obsidian/frontmatter
This module provides utility functions for processing and managing YAML front matter in Obsidian notes.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| ObsidianFrontmatter | A front matter of an Obsidian file. |
| ObsidianPublishFrontmatter | A front matter for publishing in Obsidian. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| parseFrontmatter | Parses the front matter of a given content string. |
| setFrontmatter | Sets the front matter of a given content string. |
| Type | Description |
|---|---|
| CombinedFrontmatter | A combined front matter of a document. It is a union of custom front matter, Obsidian front matter, and additional properties. |