markdown-it-front-matter
Version:
Plugin to process front matter container for markdown-it markdown parser
10 lines (8 loc) • 333 B
TypeScript
declare module 'markdown-it-front-matter' {
import MarkdownIt from 'markdown-it/lib'
namespace markdownItFrontMatter {
type FrontMatterPluginOptions = (rawMeta: string) => void
}
const markdownItFrontMatter: MarkdownIt.PluginWithOptions<markdownItFrontMatter.FrontMatterPluginOptions>
export = markdownItFrontMatter
}