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

Improve support for JSX #767

Merged
merged 2 commits into from
Feb 27, 2015
Merged

Improve support for JSX #767

merged 2 commits into from
Feb 27, 2015

Conversation

danvk
Copy link
Contributor

@danvk danvk commented Feb 27, 2015

Fixes #766

Also adds a few JavaScript markup tests -- one using React JSX syntax, one using the JavaScript example from the highlight.js home page.

@isagalaev
Copy link
Member

Coming from the description in #766, I was about to ask you to also add optional whitespace after > but you've been reading my mind apparently :-). Thanks!

isagalaev added a commit that referenced this pull request Feb 27, 2015
Improve support for JSX
@isagalaev isagalaev merged commit 7f38cff into highlightjs:master Feb 27, 2015
@isagalaev
Copy link
Member

Oh and a very special thank you for adding tests, too!

@danvk
Copy link
Contributor Author

danvk commented Feb 27, 2015

Thanks for merging! Any guesses when the next release of highlight.js will go out?

@isagalaev
Copy link
Member

We've got 10 open issues targeted for the next release and, judging by past empirical evidence, we might sort it out in two coming weeks.

@Sannis Sannis mentioned this pull request May 17, 2015
@knowbody
Copy link

why can't we use the same rules babel-sublime is using? it's doing a pretty good job with JSX

@Strate
Copy link

Strate commented Dec 3, 2015

Could you please improve support of typescript with embedded jsx? (it called tsx)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

React JSX syntax breaks highlighting
5 participants