From e9458f541937eac22bd3a8df3d21f5cb3d190c23 Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 19 Aug 2025 21:24:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20hljs=20=E4=BC=98=E5=8C=96=E5=AF=BC?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/utils/markdown.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend_nuxt/utils/markdown.js b/frontend_nuxt/utils/markdown.js index 4092c3dd8..0d9f8b1c1 100644 --- a/frontend_nuxt/utils/markdown.js +++ b/frontend_nuxt/utils/markdown.js @@ -1,4 +1,5 @@ -import hljs from 'highlight.js' +import hljs from 'highlight.js/lib/common' + if (typeof window !== 'undefined') { const theme = document.documentElement.dataset.theme ||