Better LaTeX Environment Detection
See original GitHub issueThanks for this plugin! I really rely on it to write math in Obsidian. I’m thinking is it possible to improve the detection of the LaTeX environment? Currently the LaTeX provider will be triggered after any dollar sign, even in code blocks. So I think the better logic is to ignore dollar signs in inline code, code fences, and escaped dollar signs \$
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
How to detect if in an exercise environment? - TeX
The question How can I detect if I'm inside or outside of a float environment? does something similar, and using that idea I...
Read more >4.3 Automatic Package detection - VIM-LaTeX
Whenever Latex-Suite begins editing a new LaTeX file, it scans it for \usepackage{name} lines, and if a supported package is found, then it...
Read more >Tips and Tricks for Troubleshooting LaTeX - Overleaf
They are usually more problematic and prevent the document from properly compiling, or indicate a bigger problem. You should fix errors in almost...
Read more >Wearable Natural Rubber Latex Gloves with Curcumin ... - NCBI
Keywords: natural rubber latex, curcumin, fluorescence-based sensor, torn glove detection, wearable sensor, surgical gloves.
Read more >Inhalable microplastics prevails in air: Exploring the size ...
Yet, the size detection limit in measuring airborne MPs undermines the ... More than half of all plastic waste flowed directly to the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Implemented in 45e9bf8de49a0b20b60e9b2898a407a9a512efde. I made as an option because one might need this when writing admonition blocks or something similar. Let me know if it works how you’d expect it to work.
Yes! And also the escaped dollar signs
\$
. For example, the dollar sign inIt costs me 15\$.
should not trigger the LaTeX provider.