oks
oks

Reputation: 314

What do I need to do to get mathjax to render? It works locally but not live

On my wordpress webpage mathjax doesn't render - it shows enter image description here

But if I take a copy of the page's code and load the html locally it renders OK: enter image description here

What do I need to do to get the live web page to render?

The mathjax script included in the page is

<script type="text/javascript"
src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
  tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}
});
</script>

Thanks

Upvotes: 1

Views: 666

Answers (1)

Darek Kay
Darek Kay

Reputation: 16669

MathJax fails to load if the site is being viewed through HTTPS, which it is if HTTPS Everywhere. Disable HTTPS Everywhere for just this site, and then reload the page without HTTPS.

Source

Upvotes: 1

Related Questions