joeyuping / quick_latex_obsidian

MIT License
327 stars 21 forks source link

Turn off autopairing of _ #64

Open fvgendt opened 2 years ago

fvgendt commented 2 years ago

In Obsidian, when typing the underscore symbol _, it automatically gets paired with another one. This is very incovenient when you are in math mode.

There are situations in which the behaviour is as desired, for example, when you want to add a subscript to a variable: $x_i$.

There are also situations in which the behaviour is not as desired, for example when typing \mathcal{X}_i

Would it be possible to turn off this functionality via your plugin?

b0ps commented 1 year ago

Came here to suggest the exact same feature. I don't know wether this is possible to implement, as this is native Obsidian behaviour though? Would be a very useful addition.

skritch commented 11 months ago

Elaborating on this: