FrontmatterContentMap
Updated 5 min ago
Defined in: packages/mdast/src/index.ts:311
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: packages/mdast/src/index.ts:312