aboutsummaryrefslogtreecommitdiff
path: root/present/plugin/math/plugin.js
diff options
context:
space:
mode:
authorJuan Marin Noguera <juan@mnpi.eu>2023-08-22 17:56:56 +0200
committerJuan Marin Noguera <juan@mnpi.eu>2023-08-22 17:56:56 +0200
commit1fd2213192d22880706440e7f724bdc6db966ee0 (patch)
treeff2d6812ef6db399852ad8c4cf2b6f1cd417dfed /present/plugin/math/plugin.js
parent2f9eb7a94819a08937ba08320a142b7f0be407fd (diff)
Añadida presentación1.0
Diffstat (limited to 'present/plugin/math/plugin.js')
-rw-r--r--present/plugin/math/plugin.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/present/plugin/math/plugin.js b/present/plugin/math/plugin.js
new file mode 100644
index 0000000..a92ccfb
--- /dev/null
+++ b/present/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