joeyuping / quick_latex_obsidian

MIT License
327 stars 21 forks source link

Don't autoclose `$$` when in code block #105

Open lucasvanmol opened 1 year ago

lucasvanmol commented 1 year ago

The latex isn't rendered anyway, and it's a slight annoyance for certain programming languages that use the $ symbol such as Perl or x86.

skritch commented 11 months ago

Investigating this—I may try to fix it myself in a fork or PR if welcome:

Trobador commented 11 months ago

This is something I've also been struggling with, specifically when writing PHP in my notes.

A toggle for auto-close accessible from the command palette would be a decent addition that could alleviate the issue until the plugin can tell whether or not it's in TeX mode.