myst-to-html
Version:
Export from MyST mdast to HTML
14 lines • 441 B
TypeScript
import type MarkdownIt from 'markdown-it';
import type { TargetKind } from 'myst-common';
type Target = {
id: string;
name: string;
kind: TargetKind;
defaultReference: string;
title?: string;
number?: number;
};
export declare const renderMath: (math: string, block: boolean, target?: Target) => string;
export declare function addMathRenderers(md: MarkdownIt): void;
export {};
//# sourceMappingURL=renderer.d.ts.map