-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Indentation in code blocks breaks syntax highlighting #472
Comments
weird, cannot reproduce on https://wooorm.com/markdown-tm-language/, but can indeed reproduce in VS Code with this extension. |
The issue also appears on the The version on https://mdxjs.com/playground/ also uses an outdated grammar where the issue can’t be reproduced. The issue is reproducible on https://shiki.style/. |
This comment has been minimized.
This comment has been minimized.
ok, think I have it |
Initial checklist
Affected packages and versions
unifiedjs.vscode-mdx v1.8.10
Link to runnable example
No response
Steps to reproduce
Expected behavior
Code blocks should have correct syntax highlighting, as shown in the following image
Actual behavior
When indented, the syntax highlighting breaks after the end of the first code block (the last triple backtick ```)
Runtime
Other (please specify in steps to reproduce)
Package manager
No response
OS
macOS
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: