-
Notifications
You must be signed in to change notification settings - Fork 330
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
Syntax decorations for code span add unwanted boxes to GitLab inline math #713
Comments
This extension only supports basic math functionality. Please turn to Markdown+Math for more features (see |
Oh, you are talking about the You can disable it with option |
It seems that if i disable syntax,decorations, math formulae no longer get displayed in the previewer. |
Just checked and nothing wrong here (and shouldn't). Please reload VSCode or check whether there other conflicting extensions. |
yes, it looks like it's fighting with Markdown+Math. However, is it possible to fix the syntax decorations to recognize the default KaTeX/GitLab format? I think it shouldn't be that hard. |
If anyone is interested, here is the code pointer vscode-markdown/src/syntaxDecorations.ts Lines 39 to 42 in 501bb23
|
What is the problem?
The boxes enclosing gitlab-style inline math formulae in editor include backticks when it should not.
How can I reproduce it?
Type a gitlab-style inline formula, e.g.
$`i=1`$
. The box encloses`i=1`
, when it should enclose onlyi=1
Is there any error message in the console?
The text was updated successfully, but these errors were encountered: