From 002d79a3b6dfbd37832c86e6637639938b4f1abe Mon Sep 17 00:00:00 2001 From: crossdark Date: Tue, 15 Oct 2024 19:03:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?1.9.2=20=E4=BF=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CrossDown/__init__.py | 14 +++----------- README.html | 31 ++++++++++++++++++++++++++++--- README.md | 29 +++++++++++++++++++++++++++++ setup.py | 5 ++++- 4 files changed, 64 insertions(+), 15 deletions(-) diff --git a/CrossDown/__init__.py b/CrossDown/__init__.py index b108b75..168f44d 100644 --- a/CrossDown/__init__.py +++ b/CrossDown/__init__.py @@ -16,10 +16,7 @@ __license__ = """MIT""" HEAD = ( - '', - '', - '', - '', + '', # 渲染latex # mermaid '', @@ -27,14 +24,9 @@ HEAD = ( ' mermaid.initialize({startOnLoad:true});', '', - # Highlight.js - # '', - # '', - # '', + '', # 代码高亮css - '', - - '' -) - -BODY = ( - '', -) + ('block', 'css'): """""" +} def indent(input_: Union[str, List, Tuple], indent_spaces: int = 4) -> str: diff --git a/README.html b/README.html index 10f9204..d72c340 100644 --- a/README.html +++ b/README.html @@ -6,20 +6,17 @@ UTF-8编码示例 - + -