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

13 lines
501 B
TypeScript
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
export default rehypeMathJaxBrowser;
export type InputTexOptions = import('./create-plugin.js').InputTexOptions;
/**
* Render elements with a `language-math` (or `math-display`, `math-inline`)
* class with MathJax with marker for MathJax in the browser.
*
* @param [options]
* Configuration (optional).
* @returns
* Transform.
*/
declare const rehypeMathJaxBrowser: (options?: Readonly<import("./create-plugin.js").Options> | null | undefined) => (tree: import("hast").Root) => undefined;