slides.ivabus.dev/plugin/math/plugin.js
Ivan Bushchik 5f8b29e120
Bump reveal.js to 5.0.4 and add math plugin
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-12-27 11:23:39 +03: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
} );