From 1144dd689953028d790e17783368267fb75eb1af Mon Sep 17 00:00:00 2001 From: xunbu Date: Fri, 22 Aug 2025 14:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=97=A0=E6=B3=95=E8=A2=AB?= =?UTF-8?q?=E8=A7=A3=E6=9E=90=E5=85=AC=E5=BC=8F=E7=9A=84=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docutranslate/exporter/md/md2html_exporter.py | 3 ++- docutranslate/template/markdown.html | 9 ++++++++- 更新日志.txt | 3 +++ 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/docutranslate/exporter/md/md2html_exporter.py b/docutranslate/exporter/md/md2html_exporter.py index d081d6e..0dda690 100644 --- a/docutranslate/exporter/md/md2html_exporter.py +++ b/docutranslate/exporter/md/md2html_exporter.py @@ -30,6 +30,7 @@ class MD2HTMLExporter(MDExporter): # 这是正确且推荐的 JS 配置,它与 pymdownx.arithmatex 配合工作 # 它只寻找 arithmatex 生成的 \(...\) 和 \[...\] + # language=javascript render_math_in_element = r"""