Styling MathJax

I’m trying to add some special markdown to certain MathJax formulas to make them stand out.

This topic from last year says that the MathJax \class directive is disabled because of security reasons.

So I tried to do it with a CSS snippet like this:

<div class="math-highlight">
$$\large d = r \times \sqrt{3}$$
</div>

However, this renders the div outside of the MathJax div for some reason, and doesn’t work either.

Any ideas?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.