getFrontMatterInfo
getFrontMatterInfo(
content
):FrontMatterInfo
Defined in: obsidian.d.ts:1873
Given the contents of a file, get information about the frontmatter of the file, including whether there is a frontmatter block, the offsets of where it starts and ends, and the frontmatter text.
Parameters
content
string