# Add JSX and TSX syntax highlighting \(\#7686\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a23313928b138b65bb4c4d1912f4bfd6ff5bd8d6)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a23313928b138b65bb4c4d1912f4bfd6ff5bd8d6

Requested commit: a23313928b138b65bb4c4d1912f4bfd6ff5bd8d6

Commit: a23313928b138b65bb4c4d1912f4bfd6ff5bd8d6

Tree: e0c49aea5487e8c4cdb30cbef3f310d6bde97662

Author: Robin Pfäffle

Committer: GitHub

## Message

```
Add JSX and TSX syntax highlighting (#7686)

This PR fixes / adds support for syntax highlighting in JSX and TSX.

Previously to this PR the syntax highlighting was not really working.
HTML tags have not been displayed as such.

<img width="1127" alt="SCR-20240212-ihne"
src="https://github.com/zed-industries/zed/assets/67913738/793c778f-aa11-4574-883f-6d336247bd9e">

After:

<img width="1225" alt="SCR-20240212-jqvv"
src="https://github.com/zed-industries/zed/assets/67913738/f4d96b1d-6063-41ac-bd46-76ce1fc0a131">

Release Notes:

- Added support for JSX and TSX syntax highlighting
```

## Parents

- [9e17018416eaee778776f99b31bd102fd9acce2e](https://git.cafe/gitcafe/zed/commit/9e17018416eaee778776f99b31bd102fd9acce2e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a23313928b138b65bb4c4d1912f4bfd6ff5bd8d6?format=markdown)
