Open
Description
Currently this plugin only works inside .js
files. It would be useful if this could work inside .html
files as well. I write lit-html inside single html file snippets for demos a lot.
For example:
<html>
<head>
<script type="module">
import { html, render } from 'lit-html';
const myTemplate = html`
<div>Foo</div>
`;// <-- not highlighted
render(myTemplate, document.body);
</script>
</head>
<body></body>
</html>