My Notes

{#if $notes.length === 0}
No notes yet. Create your first note!
{:else}
{#each $notes as note}

{note.title}

Last updated: {note.updatedAt.toLocaleDateString()}

{#if note.content.length > 100} {stripMarkdown(note.content.slice(0, 100))}... {:else} {stripMarkdown(note.content)} {/if}
{/each}
{/if}