mdast2docx logo Md2Docx
Version 1.8.1API DocsInterfaces

FrontmatterContentMap

Updated 22 Oct 2026

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:227

Registry of all mdast nodes that can occur where FrontmatterContent is expected.

This interface can be augmented to register custom node types:

declare module 'mdast' {
  interface FrontmatterContentMap {
    // Allow using toml nodes defined by `remark-frontmatter`.
    toml: TOML;
  }
}

For a union of all frontmatter content, see RootContent.

Properties

yaml

yaml: Yaml

Defined in: node_modules/.pnpm/@types+mdast@4.0.4/node_modules/@types/mdast/index.d.ts:228

On this page