As per the documentation, use the `tex2jax_ignore` class to make MathJax ignore an element. To make MathJax process an element, use the `tex2jax_process` class, which works even if it has an ignored ancestor element.
<p class="tex2jax_ignore"> Content in this $paragraph$ is not processed by MathJax, with this exception of <span class="tex2jax_process">$this$</span>. </p>
- docs.mathjax.org: The tex2jax Preprocessor - documentation of the options
- How to prevent rendering: use tex2jax_ignore (Davide P. Cervone)