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

Support this.html highlighting #694

@brettz9

Description

@brettz9

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions