jgm / skylighting

A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions
190 stars 61 forks source link

Support JSX #56

Closed hsribei closed 5 years ago

hsribei commented 5 years ago

Any plans to support syntax highlighting for the JavaScript XML-like extension used by React?

https://github.com/facebook/jsx

jgm commented 5 years ago

If there is a KDE .xml syntax definition for jsx, we can include it. I don't see one in KDE's repository, but you could perhaps create your own. I would just ask that in that case you submit it upstream as well as here, since we try to keep in sync.

Helder S Ribeiro notifications@github.com writes:

Any plans to support syntax highlighting for the JavaScript XML-like extension used by React?

https://github.com/facebook/jsx

-- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jgm/skylighting/issues/56

jgm commented 5 years ago

We have now added javascript-react which supports this.