From 3038bbfc64924bce04f06665f89acdc5df05b20e Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Wed, 28 Feb 2024 00:23:09 +0400 Subject: =?UTF-8?q?=D0=92=D0=B7=D0=BB=D0=B5=D1=82=D0=B0=D0=B5=D0=BC!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/plugin/math/plugin.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 dist/plugin/math/plugin.js (limited to 'dist/plugin/math/plugin.js') diff --git a/dist/plugin/math/plugin.js b/dist/plugin/math/plugin.js new file mode 100644 index 0000000..a92ccfb --- /dev/null +++ b/dist/plugin/math/plugin.js @@ -0,0 +1,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 +} ); \ No newline at end of file -- cgit v1.2.3