vscode-hyperscript icon indicating copy to clipboard operation
vscode-hyperscript copied to clipboard

Can _hyperscript syntax highlighting be enabled in alternative language modes?

Open d-flood opened this issue 3 years ago • 5 comments

Thank you for creating this extension, I use it all the time.

I would love to enable _hyperscript syntax highlighting when I have the language mode set to django-html so that I can have the django specific highlighting as well. I am able to enable both emmet and django by setting emmet to include the django-html language:

"emmet.includeLanguages": {
    "django-html": "html"
},

Does something similar exist for your extension?

d-flood avatar Jul 27 '22 19:07 d-flood

I would also like this.

trey avatar Sep 07 '22 11:09 trey

And ._hs files as well as HS supports them.

timkofu avatar Apr 11 '23 14:04 timkofu

also .astro files as well.

FDiskas avatar Jul 31 '23 10:07 FDiskas

Also needed for .templ

s00500 avatar Jun 10 '24 10:06 s00500

I have made a fork that has some changes that supports the django-html files.

https://github.com/dfourie/vscode-hyperscript/tree/master

You will need to package the extension yourself and load it manually until my PR gets merged.

I will take a look at the .hs, .astro and .templ file type as well.

dfourie avatar Nov 13 '25 13:11 dfourie