Consequence

Users who toggle this behavior on will need to manually add $ symbols when entering MathJax formulas. Users who do not enable this additional toggle would continue to experience the same behavior as they do currently. ### Current workaround (optional) Delete the offending $ suffix.

Every.

Single.

Time.

7 Likes

This is absolutely necessary. I refuse to believe that the amount of people using MathJax outweighs people who use $to refer to money. Conversely, symbols like * are pretty rare in normal writing and thus the autopair makes more sense. Whatever the case, a toggle makes everyone happy. 2 Likes This also directly interferes with the ability to write command prompt documentation. Writing text like $ cd produces $cd$ which is very annoying.

It can have odd effects when pasting in documentation too. For example, pasting in mkvirtualenv $(basename$(pwd)) intending to produce $mkvirtualenv$(basename $(pwd)) would instead produce $ mkvirtualenv $(basename$(pwd))$ where the trailing symbol may not be discovered until runtime errors appear. 2 Likes I second this, especially now that = is autopaired. This doesn’t work well for me. I’d like to be able to disable that character specifically. 1 Like Yes, please allow us to modify this behavior more granularly, as it’s very annoying to have to delete something for every$ or = I use. The old subset was great, and I think allowing a ‘also expand MathJax’ option would be a big enhancement.

Autopairing $ and = was killing me today when trying to make a lot of notes on python one liners… From 0.11.11, $ ~ = % will only autopair on selected text.

3 Likes

@WhiteNoise Do you mean 0.11.11?

yes!!

Woohoo thank you!!