{#if typeof parsedContent === 'string'} {parsedContent} {:else} {#each parsedContent as part} {#if part.type === 'text'} {part.content} {:else if part.type === 'bold'} {part.content} {:else if part.type === 'link'} {part.content} {/if} {/each} {/if}