Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Support this.html highlighting #694

Open
brettz9 opened this issue Apr 8, 2021 · 0 comments
Open

Support this.html highlighting #694

brettz9 opened this issue Apr 8, 2021 · 0 comments

Comments

@brettz9
Copy link

brettz9 commented Apr 8, 2021

Summary

Allow the likes of:

this.html`<b></b>`;

...to have content syntax-highlighted.

Motivation

Per https://github.com/WebReflection/hyperHTML-Element and as convention for hyperHTML proper , there is an html method, but it won't be highlighted.

Describe alternatives you've considered

No good alternatives. Could assign to html, but awkward to use for each method:

const html = this.html.bind(this);

Additional context

image

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant