Open Momo-Coco opened 4 years ago
This extension only supports basic math functionality. Please turn to Markdown+Math for more features (see README
).
Oh, you are talking about the code span
decoration. It is not designed for GitLab inline math...
You can disable it with option syntax.decorations
.
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
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?