diff --git a/CrossDown/__init__.py b/CrossDown/__init__.py index 168f44d..51f3d62 100644 --- a/CrossDown/__init__.py +++ b/CrossDown/__init__.py @@ -6,7 +6,6 @@ __all__ = [ 'main', # 主函数 'indent', # 添加空格 'HEAD', # - 'BODY', # ] __version__ = '0.11.2' __author__ = 'CrossDark' @@ -15,28 +14,22 @@ __source__ = 'https://crossdark.net/' __license__ = """MIT""" -HEAD = ( - '', # 渲染latex +HEAD = { + ('latex', 'js'): '', # mermaid - '', - '', + ('mermaid', 'js'): '', + ('mermaid', 'init'): '', - '', # 代码高亮css + ('code-highlight', 'css'): '', # 代码高亮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 @@