{#each tokens as token} {#if token.type === "text"} {@html token.html} {:else if token.type === "code"} {/if} {/each}