<script lang="ts">
	import SvelteMarkdown from "svelte-markdown";
	import Link from "./link.svelte";

	import "./styles.css";

	export let source: string;

	const renderers = {
		link: Link
	};
</script>

<section class="markdown-body py-4">
	<SvelteMarkdown {source} {renderers} />
</section>
