Mathpix/vscode-mathpix-markdown

Code hightlighting and autocomplete

jywu20 opened this issue · 2 comments

Maybe it is a good idea to provide LaTeX code highlighting and autocomplete, without which writing long equations can be quite cumbersome.

Thanks for the suggestion!

I've found that after installing LaTeX language support once I change the language to Latex and get the highlighting and autocomplete so I think we could add latex highlighting and autocompletion along with markdown to .mmd files.

For now if you would like LaTex highlighting and autocomplete for mathpix markdown files instead of markdown syntax highlighting you can install the LaTeX language support extension and switch the language to LaTeX by pressing f1 then choosing Change Language Mode and selecting latex.

Related documentation for adding syntax highlighting for mathpix markdown files:

https://code.visualstudio.com/api/language-extensions/syntax-highlight-guide

Thanks for the suggestion! I frequently use LaTeX and have LaTeX Workshop on my computer, but never think of using it directly for Markdown.