From 1fd2213192d22880706440e7f724bdc6db966ee0 Mon Sep 17 00:00:00 2001 From: Juan Marin Noguera Date: Tue, 22 Aug 2023 17:56:56 +0200 Subject: Añadida presentación MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- present/plugin/math/plugin.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 present/plugin/math/plugin.js (limited to 'present/plugin/math/plugin.js') 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 -- cgit v1.2.3