switch to svelte markdown

This commit is contained in:
Benjamin Palko 2025-06-05 20:27:42 -04:00
parent 6fa049504b
commit a0b4f60e65
7 changed files with 71 additions and 41 deletions

View file

@ -0,0 +1,15 @@
<script lang="ts">
import type { Snippet } from 'svelte';
interface Props {
children?: Snippet;
href?: string;
title?: string;
}
const { href = '', title = '', children }: Props = $props();
</script>
<a {href} {title} class="link link-primary">
{@render children?.()}
</a>