site/node_modules/remark-frontmatter/lib/index.d.ts
2024-10-14 08:09:33 +02:00

17 lines
540 B
TypeScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* 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>;