You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using it with neovim's lsp. All I had to do was add it to my tsconfig.
Perhaps you'd consider adding this to your documentation? And (unlikely) consider changing the name to indicate it works with other html literal APIs too?
I'd also like to add a minor enhancement to help with svg template literals.
html`<svg width="${widthPx}" height="${heightPx}"> ... <svg>` //works for `<svg>` element and its attributes, but not the child svg elements
svg`<svg width="${widthPx}" height="${heightPx}"> ... <svg>` //doesn't work
The text was updated successfully, but these errors were encountered:
I just tried https://github.com/runem/lit-analyzer/tree/master/packages/ts-lit-plugin with https://github.com/WebReflection/uhtml and it works well for their
html
template literals too. I suspect it works with others too.Perhaps you'd consider adding this to your documentation? And (unlikely) consider changing the name to indicate it works with other html literal APIs too?
I'd also like to add a minor enhancement to help with svg template literals.
The text was updated successfully, but these errors were encountered: