site/node_modules/rehype-mathjax/lib/chtml.d.ts

12 lines
419 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export default rehypeMathJaxCHtml;
/**
* Render elements with a `language-math` (or `math-display`, `math-inline`)
* class with MathJax using CHTML.
*
* @param options
* Configuration (`options.chtml.fontURL` is required).
* @returns
* Transform.
*/
declare const rehypeMathJaxCHtml: (options?: Readonly<import("./create-plugin.js").Options> | null | undefined) => (tree: import("hast").Root) => undefined;