TailwindCSS
/routes/+layout.svelte
{#if}{:else}{/if}
{#each arr as item}
<slot />
/routes/TreeView.svelte
on:click
aria-controls
aria-expanded
<label for="filter-color-{index}">
<svelte:self tree={child}/>
event.fetch
to get a static (*.md
) files$:
h1 { @apply text-4xl font-bold text-gray-900 }
marked
for displaying *.md
filesload
function+page.server
<div>{@html marked(data)}</div>