mdast2docx logo Md2Docx
Version 0.1.0API DocsFunctions

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

On this page