vscode-mathpix-markdown icon indicating copy to clipboard operation
vscode-mathpix-markdown copied to clipboard

Code hightlighting and autocomplete

Open jywu20 opened this issue 3 years ago • 2 comments

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

jywu20 avatar Mar 17 '21 12:03 jywu20

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

montanaflynn avatar Mar 17 '21 13:03 montanaflynn

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

jywu20 avatar Mar 17 '21 14:03 jywu20