Closed sboukortt closed 6 months ago
Hi,
It seems that the theme is using a version of MathJax that is quite old by now. Perhaps we should consider upgrading it?
I tried, locally, to just update:
https://github.com/xianmin/hugo-theme-jane/blob/baa2b23d3151037394c0737b29ea3baf98506621/layouts/partials/scripts.html#L27
to instead point to https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js, and it seems to work without any obvious issue.
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
Thanks.
(For what it’s worth, https://www.mathjax.org/#gettingstarted suggests also adding a polyfill.)
Haha, indeed. if you are willing, welcome to submit a PR! 😄
Hi,
It seems that the theme is using a version of MathJax that is quite old by now. Perhaps we should consider upgrading it?
I tried, locally, to just update:
https://github.com/xianmin/hugo-theme-jane/blob/baa2b23d3151037394c0737b29ea3baf98506621/layouts/partials/scripts.html#L27
to instead point to
https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
, and it seems to work without any obvious issue.Thanks.