HTML tag autocomplete/autoclose in template literals #89
nbbaier
started this conversation in
Feature Request
Replies: 1 comment
-
An ideal experience for me would be template tags in the stdlib: import { css, html } from "https://val.town/v/std/tags"
const style = css`
h1 {
color: red;
}
`
const markup = html`
<h1>Hello world</h1>
` coupled to something like this (for linting / completions): https://marketplace.visualstudio.com/items?itemName=bierner.lit-html it looks like codemirror has some support for it: https://codemirror.net/examples/mixed-language/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I don't know if this is feasible, but it would be nice to have autocomplete or autoclose for HTML tags inside template literals. Currently, I type out the html I want, highlight it, and type `. That's fine, but could be improved!
Beta Was this translation helpful? Give feedback.
All reactions