Under b7fa5c978350a7046aecf6090e2d77d1ceca4cb2, support was added to allow for jsx transpiling when a file comment such as // file: App.tsx was included.
However, this still required the snippet to be explicitly specified as `ts`, not `tsx`.
As a result, the syntax highlighting would not be complete:
`ts` highlighting:
```ts
function App() {
return <div />
}
tsx highlighting:
function App() {
return <div />
}
This MR allows for also respecting the tsx language indicator when transpiling snippets, hence now supporting this:
Under b7fa5c978350a7046aecf6090e2d77d1ceca4cb2, support was added to allow for jsx transpiling when a file comment such as
// file: App.tsx
was included.e.g. This was fine
tsx
highlighting:This MR allows for also respecting the
tsx
language indicator when transpiling snippets, hence now supporting this: