Clemens-E / obsidian-languagetool-plugin

languagetool plugin for obsidian
GNU Affero General Public License v3.0
468 stars 37 forks source link

Language checking inside Mathjax blocks #22

Closed SkepticMystic closed 3 years ago

SkepticMystic commented 3 years ago

Perhaps related to #13, Language Tool gives false suggestions for content inside Mathjax blocks

image

Clemens-E commented 3 years ago

I dont know how that works, but I assume everything inbetween of $ $ is considered MathJax and should be ignored? could be fixed with https://github.com/micromark/micromark-extension-math

SkepticMystic commented 3 years ago

Yes, everything inside two dollars is mathjax. It is already built-in to Obsidian, so I don't want to use a different extension for that

mgmeyers commented 3 years ago

This should be fixed now in v0.1.2. @Clemens-E I didn't realize micromark extensions could be added! I'll remove my hackier approach in favor of those.