Lea Verou, PhD (@[email protected])
Attached: 1 image TIL: You can highlight a JS template tag as another language by prepending it with a comment like /* html */ in at least VS Code and editors wrapping it like Cursor. How did I find out? Cursor suggested it when I tried to instead do a more convoluted const html = String.raw; const template = html`…`;