...
{#each content.split('\n') as line, index}
{@html line}
{/each}...