SVG
{ mode = 'visual'; }} use:tooltip={$t('preview.visual')}>
{ mode = 'source'; }} use:tooltip={$t('preview.source')}>
{#if mode === 'visual'}
{Math.round(zoomLevel * 100)}%
{/if}
{#if mode === 'visual'}
{@html sanitizedSvg}
{:else}
{content}
{/if}