From 4e7507a9be3b4d85a69d646eb28c25ba36f94a8b Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Fri, 31 Jan 2025 18:07:32 +0100 Subject: [PATCH] Fix embeds in `Markdown` component Changes the display of embeds from being markdown images to markdown links. Mimics the way embeds work on the desktop app and allows other embeds to work too like pdfs, videos, etc. --- src/components/Markdown.svelte | 87 ++++++++++++++++++++++++---------- src/lib/file.ts | 1 + 2 files changed, 62 insertions(+), 26 deletions(-) diff --git a/src/components/Markdown.svelte b/src/components/Markdown.svelte index e9a7f7086..084b39416 100644 --- a/src/components/Markdown.svelte +++ b/src/components/Markdown.svelte @@ -1,6 +1,4 @@