{#if note}
{#if isEditing}
{:else}

{note.title}

{#await renderMarkdown(note.content, note.linksTo || [])}

Loading...

{:then html} {@html html} {/await}
{/if} {#if (note.linksTo || []).length > 0}

Links to:

{#each note.linksTo || [] as link} {link.title} {/each}
{/if} {#if (note.linkedBy || []).length > 0}

Referenced by:

{#each note.linkedBy || [] as link} {link.title} {/each}
{/if}
{/if}