From 243f5e27428ceb22298c06e343589a747680e225 Mon Sep 17 00:00:00 2001 From: ivamp Date: Fri, 11 Oct 2024 15:52:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=B8=B2=E6=9F=93=E7=9A=84=20language?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/chat/MessageList.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/chat/MessageList.vue b/src/components/chat/MessageList.vue index acdb608..4a54d0c 100644 --- a/src/components/chat/MessageList.vue +++ b/src/components/chat/MessageList.vue @@ -135,7 +135,7 @@ import config from "@/config/config"; const mdIt = markdownIt(); const mdInited = ref(true); -const unsupportedLanguages = ["assembly", "blade"]; +const unsupportedLanguages = ["assembly", "blade", "vue"]; mdIt.options.highlight = function (str: string, lang: string) { if (!lang || unsupportedLanguages.includes(lang)) { // return str;