diff options
author | David Thompson <dthompson2@worcester.edu> | 2024-06-24 13:49:08 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2024-06-24 13:52:17 -0400 |
commit | d283f7e661e14d6ae1881fe803e5b4f1ed0689ff (patch) | |
tree | 84d3811c6dcb7d7f02aecadad7b2dfacce83bd4f /2024-06-18-guix-social/reveal.js/plugin/math/plugin.js | |
parent | 3d9dcd3099fb252fa35697148fbbd541eb9eecc9 (diff) |
Diffstat (limited to '2024-06-18-guix-social/reveal.js/plugin/math/plugin.js')
-rw-r--r-- | 2024-06-18-guix-social/reveal.js/plugin/math/plugin.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/2024-06-18-guix-social/reveal.js/plugin/math/plugin.js b/2024-06-18-guix-social/reveal.js/plugin/math/plugin.js new file mode 100644 index 0000000..a92ccfb --- /dev/null +++ b/2024-06-18-guix-social/reveal.js/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 |