feat: Add post uploading
This commit is contained in:
1 parent
5f674d4691
commit
1842139af9
31 files changed
+560
-225
No files matched your search
@@ -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>
|
||||
Reference in new issue
Block a user