Fixing MathJax
#1
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>
Daniel
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How's MathJax working for folks? Daniel 0 420 06/03/2023, 04:33 AM
Last Post: Daniel
  MathJax should be working Daniel 2 725 05/23/2023, 02:54 AM
Last Post: Daniel



Users browsing this thread: 2 Guest(s)