import type { ElementNode } from 'comark'; export * from 'comark/plugins/math'; export { default } from 'comark/plugins/math'; /** * HTML component render function for math nodes. Renders LaTeX to HTML via KaTeX. * * Include `katex/dist/katex.min.css` in your page for proper styling. * * @example * ```typescript * import math, { Math } from '@comark/html/plugins/math' * import { createHtmlRenderer } from '@comark/html' * * const renderHtml = createHtmlRenderer({ * plugins: [math()], * components: { Math }, * }) * ``` */ export declare const Math: ([, attrs]: ElementNode) => string;