splitFrontmatter()
Updated 3 min ago
splitFrontmatter(content): object
Defined in: tiptap.ts:69
Splits markdown content into frontmatter header and body text.
Parameters
content
string
Returns
body
body: string = ""
frontmatter
frontmatter: string = ""