From db05e3473616205e29df20f443348c28bdbf644b Mon Sep 17 00:00:00 2001 From: Shirasawa <764798966@qq.com> Date: Tue, 16 Sep 2025 09:43:03 +0000 Subject: [PATCH] feat: dynamically load mermaid.js --- src/lib/components/chat/Chat.svelte | 1 - .../components/chat/Messages/CodeBlock.svelte | 42 ++----------------- src/lib/utils/index.ts | 18 ++++++++ src/routes/(app)/+layout.svelte | 1 - 4 files changed, 22 insertions(+), 40 deletions(-) diff --git a/src/lib/components/chat/Chat.svelte b/src/lib/components/chat/Chat.svelte index ea9ef1fd09..0ebb5dfb4e 100644 --- a/src/lib/components/chat/Chat.svelte +++ b/src/lib/components/chat/Chat.svelte @@ -1,7 +1,6 @@