DEV Community

Discussion on: 🤖 Svelte Reviewed: A Masterclass on Empowerment 🤖

Collapse
 
artxe2 profile image
Yeom suyun

The fatal flaw of Svelte is that the REPL of Svelte.dev is not supported as an embed on Dev.to, and that Dev.to's code blocks do not support svelte, so we have to write them in html or jsx.

Collapse
 
somedood profile image
Basti Ortiz

I wouldn't consider these as "fatal flaw[s]", to be honest. Perhaps an "inconvenience" is a more appropriate description. The former example may simply be for security purposes, as the REPL does run arbitrary JavaScript. Meanwhile, the latter example will sort itself out over time as adoption increases.

I must concede, however, that there is no other way around the lack of Svelte-native syntax highlighting for now. But it is awesome that plain html is sufficient to highlight the Svelte language, which is a testament to its commitment to extend the Web platform rather than to supplant it.

Collapse
 
artxe2 profile image
Yeom suyun

Haha, this is a joke that is a compliment to Svelte