remark-yaml-config
Version:
remark plugin to configure it with YAML frontmatter
15 lines (14 loc) • 459 B
TypeScript
/**
* Configure remark with YAML frontmatter.
*
* Parses YAML frontmatter and takes the value of the `remark` field as
* settings.
* The settings are passed to `remark-stringify`.
*
* @returns {undefined}
* Nothing.
*/
export default function remarkYamlConfig(): undefined;
export type Root = import('mdast').Root;
export type Yaml = import('mdast').Yaml;
export type Processor = import('unified').Processor<undefined, undefined, undefined, Root>;