Skip to content
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

Code hightlighting and autocomplete #7

Open
jywu20 opened this issue Mar 17, 2021 · 2 comments
Open

Code hightlighting and autocomplete #7

jywu20 opened this issue Mar 17, 2021 · 2 comments

Comments

@jywu20
Copy link

jywu20 commented Mar 17, 2021

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

@montanaflynn
Copy link
Contributor

montanaflynn commented Mar 17, 2021

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

@jywu20
Copy link
Author

jywu20 commented Mar 17, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants