My Technical Notes

Friday, 17 February 2017

MathJax: Selectively ignoring (or processing) Tags

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>.

No comments: