From b4d933aa3908e8cd9dd78aa9f208a5deaa58f726 Mon Sep 17 00:00:00 2001 From: Routhleck <1310722434@qq.com> Date: Mon, 28 Aug 2023 22:06:50 +0800 Subject: [PATCH] Update markdown_process.py --- markdown_process.py | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/markdown_process.py b/markdown_process.py index ab346a2..cce39c1 100644 --- a/markdown_process.py +++ b/markdown_process.py @@ -51,15 +51,17 @@ def replace_img_url_2(content): def add_newlines_around_formula(content): - # 在 $$ 前后添加空行,确保不重复添加空行,并且公式块内部的内容不发生改变 - pattern_start = r'(?