Automatic insertion of $ signs

It is something really specific and regarding katex integration, but it would be wonderful if $ worked the same way parenthesis and double quotes do: if I select some text and click ( it will surround selected text with ( and ) and it would be really useful if it did it as well with $ as well as inserting the closing parenthesis when typing the open one

1 Like

I don't know how many people need this feature. The developers might not want to add the auto-matching of $ if it's not widely requested. If you really want this, you can change the brace pairs in the source code, then build it yourself.
You can check this PR as reference.

However, if lots of people need a customized rule for braces auto-matching, maybe we can make this option configurable in settings.