I’m working to embed linked Forum Topics on some of our Wordpress posts/pages, and discovered that while display math works fine in the embed, inline math is not getting converted.
The non-rendering bits are wrapped in <span class="math">...</span>, with no MathJax present.
By contrast, the correctly rendered bits, are wrapped in <div> ... and then have the expected <mjx-container class="MathJax ...> etc.
Thanks in advance for insights into how to get inline math rendering as well!
I tracked this down: While Discourse is running MathJax v2.7.5, the current version is v.3.2.2, which is what we run on our site. Since the config file is handled differently between v2 and v3, our config isn’t getting applied to what Discourse displays on the embed on our site. Among other things, that means that the single dollar signs aren’t being recognized as indicating inline math, since that’s not the default in MathJax (or LaTeX, for that matter), and so must be specified via local config.