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

Bug: Math syntax highlighting fails when there is space before leading $ #575

Open
roaldarbol opened this issue Oct 17, 2024 · 0 comments
Open
Labels
bug Something isn't working vscode

Comments

@roaldarbol
Copy link

I've found a bug in the syntax highlighting for math ($) syntax for the VS Code extension; I think it's when the leading $ directly follows another character, e.g. H$\rho$, then it fails to detect that a math syntax has been started.

Here's what it looks like in VS Code:
Image

However, it renders just fine:
Image

And the syntax highlighting in RStudio also picks it up just fine:
Image

@cderv cderv added bug Something isn't working vscode labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vscode
Projects
None yet
Development

No branches or pull requests

2 participants