Open JosefJezek opened 2 years ago
Why?
Fo better reading... Github and VS Code support html``.
This project doesnt really use tagged template literals though. Why would you want this project to ship something like this?
tagged template literals are supported by GitHub and VS Code for code highlighting...
example from generic-accordion
template.innerHTML = html`
<style>
::slotted(button) {
display: block;
width: 100%;
}
:host {
display: block;
}
</style>
<slot>
</slot>
`;
Could you add highlight HTML in tagged template literals?