Closed ppedrazzi closed 3 years ago
In Svelte docs they do it without quotes. That looks more accurate to me and is how I do this. If the syntax highlights looks wrong, I'm sorry but I'm not capable enough to fix. I'm closing this since this is not a bug report. Please don't hesitate to report as a bug if it is.
Not an issue, but wondering about double quoting as the approach for things like on:click or class:foo? I've used svelte without it and it seems fine without the quotes, but maybe I'm off here.
Challenge with quoting is you lose all syntax formatting.
See example.