{#snippet child(data)} {#if hasContext('isEditing')} {:else} {/if} {/snippet}
{#snippet child(data)}
{new Date(data?.value?.createdAt || new Date()).toLocaleDateString('en-us', { year: 'numeric', month: 'short', day: 'numeric' })}
<PlainText class="text-base-800 dark:text-base-200 mt-4 text-sm italic" key="description" placeholder="Description" {data} /> <MarkdownText class="mt-8" key="content" placeholder="Words can be like X-rays if you use them properly - they'll go through anything. You read and you're pierced." {data} /> {/snippet} </SingleRecord> </div> </ThemeWrapper>