We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
mdx
I previous versions of Shiki (^0.14.3), MDX code blocks had correct syntax highlighting for both markdown content and HTML code:
^0.14.3
However, the latest version of Shiki (1.16.2) lacks syntax highlighting for HTML code within MDX blocks:
1.16.2
For reference, here's the MDX code snippet:
# Hello World! <p className="lead">This is an introductory paragraph for the article.</p> This is a standard markdown paragraph.
Using the Shiki playground (https://shiki.style), select MDX and paste the code snippet from above
The text was updated successfully, but these errors were encountered:
It seems there are some changes in the upstream grammar: https://github.com/wooorm/markdown-tm-language/commits/0229d1b8fc37a7dea8cf7225d7713ac8a69621ca/source.mdx.tmLanguage
I don't know yet why it happens tho
Sorry, something went wrong.
No branches or pull requests
Validations
Describe the bug
I previous versions of Shiki (
^0.14.3
), MDX code blocks had correct syntax highlighting for both markdown content and HTML code:However, the latest version of Shiki (
1.16.2
) lacks syntax highlighting for HTML code within MDX blocks:For reference, here's the MDX code snippet:
Reproduction
Using the Shiki playground (https://shiki.style), select MDX and paste the code snippet from above
Contributes
The text was updated successfully, but these errors were encountered: