site/node_modules/remark-frontmatter/lib/index.d.ts

17 lines
540 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* Add support for frontmatter.
*
* ###### Notes
*
* Doesnt parse the data inside them: create your own plugin to do that.
*
* @param {Options | null | undefined} [options='yaml']
* Configuration (default: `'yaml'`).
* @returns {undefined}
* Nothing.
*/
export default function remarkFrontmatter(options?: Options | null | undefined): undefined;
export type Root = import('mdast').Root;
export type Options = import('micromark-extension-frontmatter').Options;
export type Processor = import('unified').Processor<Root>;