Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
Comments on How to avoid triggering mathjax?
Post
How to avoid triggering mathjax?
Apparently, two dollar signs in a paragraph cause the text between them to be interpreted as mathjax. How can this be avoided so that dollar signs can be written literally?
I tried escaping the dollar sign with a "\" before it, and also using the HTML entity "$". Neither of those worked.
On a more general note, a dollar sign is a questionable choice for triggering alternate syntax, since it's likely to come up in normal text.
After some more experimentation for a paragraph with three dollar signs, I found that the first dollar in a paragraph has to be escaped by two backslashes, the second by one, and the last doesn't need any at all.
It also appear a paragraph needs at least two dollar signs to trigger mathjax.
It would be good to know the actual rules instead of poking around in the dark. I did look at the help on formatting posts and found no mention of mathjax. In fact, there seems to be no real documentation on mathjax at all.
2 comment threads