| Christophe Dervieux | 8afae13 | 2021-12-06 15:16:42 +0100 | [diff] [blame] | 1 | import {KaTeX} from "./katex"; |
| 2 | import {MathJax2} from "./mathjax2"; | ||||
| 3 | import {MathJax3} from "./mathjax3"; | ||||
| 4 | |||||
| 5 | const defaultTypesetter = MathJax2; | ||||
| 6 | |||||
| 7 | /*! | ||||
| 8 | * This plugin is a wrapper for the MathJax2, | ||||
| 9 | * MathJax3 and KaTeX typesetter plugins. | ||||
| 10 | */ | ||||
| 11 | export default Plugin = Object.assign( defaultTypesetter(), { | ||||
| 12 | KaTeX, | ||||
| 13 | MathJax2, | ||||
| 14 | MathJax3 | ||||
| 15 | } ); | ||||