feat: add u/ syntax for users

This commit is contained in:
Xyphyn committed 2023-08-25 14:45:41 -07:00
1 parent b041727ae1
commit 0fbe243f7b
2 files changed
+39 -21

No files matched your search

+7 -1
View File
@@ -18,10 +18,16 @@
l.href = `/post/${match?.[1]}/${match?.[2]}`
})
}
let div: HTMLElement
$: if (source && div) {
replaceURLs(div)
}
</script>
<div
use:replaceURLs
bind:this={div}
class="break-words flex flex-col markdown gap-2 leading-[1.5]"
>
{#if inline}