@vivliostyle/vfm
Version:
Custom Markdown syntax specialized in book authoring.
14 lines (13 loc) • 363 B
TypeScript
import { Node } from 'hast';
import footnotes from 'remark-footnotes';
/**
* Process Markdown AST.
*/
export declare const mdast: (footnotes.Footnotes | {
inlineNotes: boolean;
})[];
/**
* Process math related Hypertext AST.
* Resolves HTML diffs between `remark-footnotes` and Pandoc footnotes.
*/
export declare const hast: () => (tree: Node) => void;