diff --git a/CrossDown.py b/CrossDown.py index e554c54..c519f28 100644 --- a/CrossDown.py +++ b/CrossDown.py @@ -256,6 +256,8 @@ def body(text: str) -> Tuple[str, Dict[str, str]]: 'markdown.extensions.extra', # 扩展语法 'markdown.extensions.codehilite', # 语法高亮拓展 'markdown.extensions.toc', # 自动生成目录 + 'markdown.extensions.admonition', # 警告扩展 + 'markdown.extensions.meta', # 元数据 ]) # 渲染标准markdown return text, values diff --git a/README.html b/README.html index f0d153c..0da1baa 100644 --- a/README.html +++ b/README.html @@ -23,7 +23,96 @@ -
title: "Markdown文档标题"
+ author: "作者姓名"
+ date: "2024-09-26"
自制的markdown,添加了一些自定义的语法 效果请见README.html
这是一条警告
+