UNPKG

@vivliostyle/vfm

Version:

Custom Markdown syntax specialized in book authoring.

19 lines (18 loc) 444 B
import { Node } from 'unist'; import { VFile } from 'vfile'; import { Metadata } from './metadata.js'; /** * Process Markdown AST. * @param data Options. * @returns Transformer. */ export declare const mdast: (data: Metadata) => (tree: Node, vfile: VFile) => { type: string; children: (import("hast").Element | { type: "text"; value: string; } | { type: string; name: string | null; })[]; };