{#each segments as { text, features }} {#each features as feature} {#if feature.$type === 'app.bsky.richtext.facet#mention'} {text} {:else if feature.$type === 'app.bsky.richtext.facet#link'} {text} {:else if feature.$type === 'app.bsky.richtext.facet#tag'} {text} {:else} {text} {/if} {:else} {text} {/each} {/each}