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.
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
htmlis sufficient to highlight the Svelte language, which is a testament to its commitment to extend the Web platform rather than to supplant it.Haha, this is a joke that is a compliment to Svelte