Reputation: 2750
I am using the Svelte REPL and would like to render a code block:
<pre> function () { // test } </pre>
Is there a more convenient way?
Upvotes: 0
Views: 222
Reputation: 2149
You can use
{@html `<pre>function (){//test}</pre>`}
Upvotes: 2