aboutsummaryrefslogblamecommitdiff
path: root/static/presentations/2021-11-13/garage/plugin/math/plugin.js
blob: a92ccfb7cdc862f17973d52fd44085256f5f2c29 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                             
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
} );