Syntax Highlighting for HTML template literals

This issue has been tracked since 2023-01-31.

Is it possible to enable syntax highlighting for html inside template literals in any popular editor? (VS Code, Webstorm, etc) Are there instructions on how to do so anywhere? Apologies if this is documented somewhere, I couldn't find it

Bellisario wrote this answer on 2023-02-08

Yes, there is a "preview" extension by @jhechtf, you can find it here:

Anyway, if you already know Lit, you can use its extension, which seems to work pretty well (@justin-schroeder comment on #23 (reply in thread))

P.S.: all this is referred to discussion #23.

justin-schroeder wrote this answer on 2023-02-19

We should add this to the docs!

justin-schroeder wrote this answer on 2023-02-19

Ok I added a little blurb to the docs. If @jhechtf decides to publish that project we'll include it on there too!

jhechtf wrote this answer on 2023-02-19

I mean I can go ahead and publish it but as it currently sits there's nothing particularly different about the arrow js extension vs the lit extension. Reply on the thread if you'd like to see that extension published.

More Details About Repo
Owner Name justin-schroeder
Repo Name arrow-js
Full Name justin-schroeder/arrow-js
Language TypeScript
Created Date 2022-11-08
Updated Date 2023-03-28
Star Count 1240
Watcher Count 21
Fork Count 22
Issue Count 7


Issue Title Created Date Updated Date