-
Notifications
You must be signed in to change notification settings - Fork 325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Markdown All In One breaks Math block syntax highlighting #1008
Comments
Conflict with VS Code's built-in Markdown Math ( We both inject TM grammar for the same (at least similar) thing: Lines 500 to 519 in f67fa77
The merge result is unpredictable.
I'm sorry that you have to disable one of them. |
Thanks. Disabling the builtin Markdown Math (as shown by @yzhang-gh) did work. Now the math blocks gets separated correctly. I think this is something that should be stated in the documentation. |
不可能单独关闭,文档已经解释了。
我们用的语法其实不一样。
我也想逃出 TextMate grammar 的框框。但现阶段很难。😢 |
我也遇到相同的问题 我没有使用Markdown-math插件,这个是已经内置了吗?
|
是的。这里讨论的 Markdown Math 就是 VS Code 内置的 Yes. The "Markdown Math" in this thread refers to the VS Code's built-in |
Problem
After I installed the "Markdown all in one" extension in VsCode, the enclosing highlighting of math block is not working correctly any more. Removing the extension and the highlighting works again, so I figured I would make an issue here.
As seen in the image, the "$$" signs at the end of the Math block is understood as something different. Therefore, subsequent markdown is not highlighted correctly, even though they are rendered correctly.
Other features of Markdown All in one still works, including Latex autocomplete/Intellisense inside the math block.
Configuration
No other extension (such as Markdown+math) were installed. I tried turning off the "math.enabled" option, but it didn't resolve the issue. Assigning the value to
true
also did not resolve the issue.Environment
Lubuntu 20.04
Markdown all in one 3.4.0 (should be the newest version because I just installed it through VsCode Market 5 min ago)
VsCode 1.60.0
Diagnostic data
There seems to be nothing in the Debug Console
The text was updated successfully, but these errors were encountered: