-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Potentially similar to #37
It would be great to be able to use language identifier comments inside of curly brace JSX expressions inside of MDX:
{/* css */`
em { color: red }
`}On the MDX side (left side):
- The first CSS code inside of the code block is syntax highlighted
- The subsequent CSS code in the tagged template strings are not syntax highlighted
Originally I reported this to the MDX VS Code extension:
But it appears that this is not work to be done on their side, but rather on the side of extensions which add the syntax highlighting to commented and tagged template strings, including this extension and also others:
- lit-html VS Code Extension
- Styled Components VS Code Extension
- SQL tagged template literals (syntax only) VS Code Extension
What would be involved in implementing this in the Comment Tagged Templates VS Code extension?
Metadata
Metadata
Assignees
Labels
No labels
