kepler-chat/src/routes/chat/[id]/markdown-renderer.svelte
Aidan Bleser 64dc3b9201 initial
2025-06-17 10:06:39 -05:00

13 lines
229 B
Svelte

<script lang="ts">
import { Markdown } from '$lib/utils/markdown';
type Props = {
content: string;
};
let { content }: Props = $props();
const markdown = new Markdown(() => content);
</script>
{@html markdown.current}