From 9b709a51d8af7ab0a0a14ae9b8f700e4719d63e7 Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Tue, 8 Oct 2024 15:08:47 -0400
Subject: Remove Flowbite, add Skeleton, add Markdown rendering

---
 hi-ui/src/lib/Message.svelte | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'hi-ui/src/lib/Message.svelte')

diff --git a/hi-ui/src/lib/Message.svelte b/hi-ui/src/lib/Message.svelte
index 88e47cf..0e7cdaf 100644
--- a/hi-ui/src/lib/Message.svelte
+++ b/hi-ui/src/lib/Message.svelte
@@ -1,4 +1,5 @@
 <script>
+    import SvelteMarkdown from 'svelte-markdown';
     import { currentUser } from '../store';
     import { deleteMessage } from '../apiServer';
 
@@ -14,7 +15,7 @@
         @{sender.name}:
     </div>
     <div class="body grow">
-        {message.body}
+        <SvelteMarkdown source={message.body} />
     </div>
     <div class="timestamp basis-6">
         <!-- TODO: this is too long and looks awful. -->
-- 
cgit v1.2.3

