{#each tokens as tok, i (i)} {#if tok.kind === 'url'} {tok.content} {:else} {tok.content} {/if} {/each}