Added svg support to lit-html VS code extension

Helping make Visual Studio code extensions better upstream.

1 min read Filed in Web

I found myself wanting to do some of the cooler lit-html svg partial templates for a thing I’m working on, but I found that VS Code didn’t have support for syntax highlighting within the template literal.

I set forth to build an extension for this case, but found that Matt Bierner had already built vscode-lit-html. Since I am not a fan of reinventing things, I instead just pulled into his repo and he accepted and released a new version.

Sample of the new svg support in vscode-lit-html

If I haven’t mentioned that I quite like VS Code and the developer ecosystem around it, I do. A lot.