From e28e2c961659f48177cf8ce39eeb39480b221535 Mon Sep 17 00:00:00 2001 From: Dawid Rycerz Date: Thu, 3 Jul 2025 14:23:49 +0300 Subject: Fix markdown rendering of pleroma posts --- src/components/note/Note.astro | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/components') diff --git a/src/components/note/Note.astro b/src/components/note/Note.astro index 54d1fc0..a8cf205 100644 --- a/src/components/note/Note.astro +++ b/src/components/note/Note.astro @@ -44,5 +44,22 @@ const { Content } = await render(note); class:list={{ "line-clamp-6": isPreview }} > + { + !isPreview && note.data.sourceUrl && ( + <> +
+

+ + View original post → + +

+ + ) + } -- cgit v1.2.3