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

JSX: Added support for comments #2728

Merged
merged 1 commit into from Jan 29, 2021

Conversation

RunDevelopment
Copy link
Member

JSX allows JS comments between attributes and this PR add support for that.

This fixes #2727.

@github-actions
Copy link

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +112 B (+13.2%).

file master pull size diff % diff
components/prism-jsx.min.js 848 B 960 B +112 B +13.2%

Generated by 🚫 dangerJS against 3c587b2

@RunDevelopment RunDevelopment merged commit 30b0444 into PrismJS:master Jan 29, 2021
@RunDevelopment RunDevelopment deleted the jsx-comment branch January 29, 2021 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nested JSX elements not highlighting at all
1 participant