Use case or problem
Auto pair Markdown syntax is toggled on, typing a single
$ symbol is detected as a MathJax delimiter and auto-paired when typed. This interferes with the ability to enter dollar values, as attempting to enter
$3.50 results in
When the setting is toggled on, provide a new progressively disclosed option the user can enable that will cause Obsidian to ignore the
$ when pairing.
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
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.
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.
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.
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.
= was killing me today when trying to make a lot of notes on python one liners…
$ ~ = % will only autopair on selected text.
@WhiteNoise Do you mean 0.11.11?