textmate / html.tmbundle

TextMate support for HTML
75 stars 95 forks source link

Syntax for text/jsx inside HTML #119

Open ghost opened 2 years ago

ghost commented 2 years ago

NOTE: I originally filed this issue in VSCode's repo, but they requested that I file it here instead.

When editing an HTML file in VSCode, syntax highlighting for <script type="text/javascript"> is working just fine - even for JSX syntax:

image

But it is not working as soon as I change it to <script type="text/jsx">:

image

Also: I noticed that VSCode's "Format Document" command works on the contents of <script type="text/javascript"> but not when it is changed to <script type="text/jsx">

ghost commented 2 years ago

@sorbits @infininight - I see you're the top contributors to this repo, what's the process for getting PRs approved nowadays?

arildgrimstveit commented 2 years ago

have you resolved the issue?

aflynn93 commented 2 years ago

@infininight @sorbits Can you help us out with getting the PR merged?

dmail commented 2 years ago

By the way does it makes sense to add <script type="module/jsx">?

aflynn93 commented 2 years ago

I did some digging and couldn't find any references to being able to set a script type to "module/*". I only see it as Githubissues.

  • Githubissues is a development platform for aggregating issues.