feat: Add post uploading

This commit is contained in:
Xyphyn committed 2023-07-05 12:58:36 -07:00
1 parent 5f674d4691
commit 1842139af9
31 files changed
+560 -225

No files matched your search

+8 -2
View File
@@ -1,7 +1,13 @@
<script lang="ts">
import MarkdownLink from '$lib/components/markdown/MarkdownLink.svelte'
import SvelteMarkdown from 'svelte-markdown'
export let source: string
export let source: string | undefined
</script>
<SvelteMarkdown {source} />
<SvelteMarkdown
{source}
renderers={{
link: MarkdownLink,
}}
/>
@@ -0,0 +1,5 @@
<script lang="ts">
export let href: string
</script>
<a {href} class="text-sky-400 hover:underline"><slot /></a>