feat: add u/ syntax for users
This commit is contained in:
1 parent
b041727ae1
commit
0fbe243f7b
2 files changed
+39
-21
No files matched your search
@@ -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}
|
||||
|
||||
Reference in new issue
Block a user