From 8e3aeaf1031f0bcf650322ac1890b8b6eb75dc19 Mon Sep 17 00:00:00 2001 From: hz4th_coder Date: Thu, 4 Jun 2026 23:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dhighlight.js=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=8A=A0=E8=BD=BD=E5=86=B2=E7=AA=81=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 使用完整的highlight.min.js包替代分散的语言包 - 解决'module is not defined'和变量重复声明错误 --- app/templates/admin/article_form.html | 5 +---- app/templates/frontend/article.html | 9 +-------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/app/templates/admin/article_form.html b/app/templates/admin/article_form.html index a9d880a..53e0bd9 100644 --- a/app/templates/admin/article_form.html +++ b/app/templates/admin/article_form.html @@ -188,10 +188,7 @@ {% block extra_js %} - - - - + - - - - - - - - +