plugin.js 334 B

123456789101112131415
  1. import {KaTeX} from "./katex";
  2. import {MathJax2} from "./mathjax2";
  3. import {MathJax3} from "./mathjax3";
  4. const defaultTypesetter = MathJax2;
  5. /*!
  6. * This plugin is a wrapper for the MathJax2,
  7. * MathJax3 and KaTeX typesetter plugins.
  8. */
  9. export default Plugin = Object.assign( defaultTypesetter(), {
  10. KaTeX,
  11. MathJax2,
  12. MathJax3
  13. } );