-
-
Notifications
You must be signed in to change notification settings - Fork 426
Closed
Description
Describe the issue
In JSX, <button>
refers to a built-in component, but <Button>
to a user-defined one. This distinction is very important, and some syntax highlighters (including VS Code) style them with diffrent colors. I'd like to be able to do that as well, but I think this is not currently exposed from the highlighter.
My feature request is to expose this information so that I can configure the highlighter to style capital-letter-starting JSX tags (and their closing tags) differently. I'm not sure if that would require a breaking change.
Browser and platform
No response
Reproduction link
No response
taufik-nurrohman
Metadata
Metadata
Assignees
Labels
No labels