diff options
author | bpeetz <me@b-peetz.de> | 2023-06-26 07:07:28 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-02-22 16:07:05 +0100 |
commit | c4276f597be72da754cd0595dffee17454556c49 (patch) | |
tree | b6160a73a1c0b752d875fc356f1e06dcdf7503a0 /geschichte/plugin/math/plugin.js | |
parent | chore: Initial Commit (diff) | |
download | b-peetz.de-c4276f597be72da754cd0595dffee17454556c49.zip |
feat(geschichte): Add
Diffstat (limited to 'geschichte/plugin/math/plugin.js')
-rw-r--r-- | geschichte/plugin/math/plugin.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/geschichte/plugin/math/plugin.js b/geschichte/plugin/math/plugin.js new file mode 100644 index 0000000..a92ccfb --- /dev/null +++ b/geschichte/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 |