@vivliostyle/vfm
Version:
Custom Markdown syntax specialized in book authoring.
13 lines (12 loc) • 304 B
TypeScript
import { Node } from 'unist';
import { VFile } from 'vfile';
import { Metadata } from './metadata';
/**
* Process Markdown AST.
* @param data Options.
* @returns Transformer.
*/
export declare const mdast: (data: Metadata) => (tree: Node, vfile: VFile) => {
type: string;
children: any[];
};