Skip to content

obsidian/frontmatter

This module provides utility functions for processing and managing YAML front matter in Obsidian notes.

InterfaceDescription
ObsidianFrontmatterA front matter of an Obsidian file.
ObsidianPublishFrontmatterA front matter for publishing in Obsidian.
FunctionDescription
parseFrontmatterParses the front matter of a given content string.
setFrontmatterSets the front matter of a given content string.
TypeDescription
CombinedFrontmatterA combined front matter of a document. It is a union of custom front matter, Obsidian front matter, and additional properties.