xous-rs-2024/plugin/math/plugin.js
Sean Cross 5a51f6ddf2 wip commit
Signed-off-by: Sean Cross <sean@xobs.io>
2024-04-06 15:58:08 +08:00

15 lines
334 B
JavaScript

import {KaTeX} from "./katex";
import {MathJax2} from "./mathjax2";
import {MathJax3} from "./mathjax3";
const defaultTypesetter = MathJax2;
/*!
* This plugin is a wrapper for the MathJax2,
* MathJax3 and KaTeX typesetter plugins.
*/
export default Plugin = Object.assign( defaultTypesetter(), {
KaTeX,
MathJax2,
MathJax3
} );