@ant-design/x-markdown
Version:
placeholder for @ant-design/x-markdown
10 lines (9 loc) • 332 B
TypeScript
import { type KatexOptions } from 'katex';
import type { TokenizerAndRendererExtension } from 'marked';
import 'katex/dist/katex.min.css';
type LatexOption = {
katexOptions?: KatexOptions;
replaceAlignStart?: boolean;
};
declare const Latex: (options?: LatexOption) => TokenizerAndRendererExtension[];
export default Latex;