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

Support for syntax highlighting in .mdx files #2322

Closed
sillvva opened this issue Mar 23, 2024 · 1 comment
Closed

Support for syntax highlighting in .mdx files #2322

sillvva opened this issue Mar 23, 2024 · 1 comment
Labels
contributions welcome pull requests for this issue welcome Fixed Fixed in master branch. Pending production release.

Comments

@sillvva
Copy link

sillvva commented Mar 23, 2024

Description

Right now, syntax highlighting for svelte blocks in markdown does not apply to .mdx files, like it does for .md files.

CleanShot 2024-03-23 at 13 11 37@2x

Proposed solution

I would like for the syntax highlighting that applies to code blocks in .md files to also apply to the same blocks in .mdx files.

Alternatives

No response

Additional Information, eg. Screenshots

Other languages are working fine in .mdx files

CleanShot 2024-03-23 at 13 15 20@2x

@jasonlyu123 jasonlyu123 added the contributions welcome pull requests for this issue welcome label Mar 26, 2024
@benkates
Copy link

+1 for this request, helpful in Storybook-based development

@jasonlyu123 jasonlyu123 added the Fixed Fixed in master branch. Pending production release. label May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions welcome pull requests for this issue welcome Fixed Fixed in master branch. Pending production release.
Projects
None yet
Development

No branches or pull requests

4 participants