diff --git a/math2400/mySetup/setup.js b/math2400/mySetup/setup.js index 82f5c780f..81c1a59c0 100644 --- a/math2400/mySetup/setup.js +++ b/math2400/mySetup/setup.js @@ -15,12 +15,9 @@ pdfMaxPagesPerSlide: 1, // MathJax user-defined functions - math: { + mathjax2: { //mathjax: 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js', config: "TeX-AMS_HTML-full", - //options: { - // skipHtmlTags: [ 'script', 'noscript', 'style', 'textarea', 'pre' ] - // }, TeX: { Macros: { R: "\\mathbb{R}", @@ -104,7 +101,7 @@ // ... plugins: [ RevealCustomControls, - RevealMath, + RevealMath.MathJax2, RevealMenu, RevealChalkboard, RevealHighlight,