![]() |
|
Fixing MathJax - Printable Version +- Tetration Forum (https://tetrationforum.org) +-- Forum: Etc (https://tetrationforum.org/forumdisplay.php?fid=4) +--- Forum: About the Forum (https://tetrationforum.org/forumdisplay.php?fid=5) +--- Thread: Fixing MathJax (/showthread.php?tid=1533) |
Fixing MathJax - Daniel - 06/17/2022 I just noticed that MathJax was broken on my tetration website. They have updated their JavaScript to connect with a different service. I replaced the old MathJax JavaScript with the following which fixed inline expressions like \(f(x)\). I apologize if folks already know this. <script> MathJax = { tex: { inlineMath: [['\(', '\)'], ['\\(', '\\)']] }, svg: { fontCache: 'global' } }; </script> <script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"> </script> <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script><script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"> </script> |