UNPKG

remark-mdat

Version:

A remark plugin implementing the Markdown Autophagic Template (MDAT) system.

12 lines (11 loc) 366 B
import type { Root } from 'mdast'; import { type VFile } from 'vfile'; import { type Rules } from '../mdat/rules'; export type Options = { addMetaComment: boolean; closingPrefix: string; keywordPrefix: string; metaCommentIdentifier: string; rules: Rules; }; export declare function mdat(tree: Root, file: VFile, options: Options): Promise<void>;