extractFrontmatterNode()
Updated 9 hr ago
extractFrontmatterNode(root): RootContent & \{ type: "yaml" | "toml"; value: string; \} | undefined
Defined in: frontmatter.ts:321
Extracts front-matter AST node from Root or children array.
Parameters
root
Root | RootContent[] | undefined
Returns
RootContent & \{ type: "yaml" | "toml"; value: string; \} | undefined