From f32a52ce7ec2fce71b2f87034c372b4dad96ab15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=A8=E8=B6=8A=E6=99=A8=E6=98=8F?= <91008228+CrossDark@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:51:41 +0800 Subject: [PATCH 1/2] Update CrossDown.py --- CrossDown.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/CrossDown.py b/CrossDown.py index e79da3e..145c92a 100644 --- a/CrossDown.py +++ b/CrossDown.py @@ -122,6 +122,14 @@ def main(text: str) -> str: if __name__ == '__main__': with open('test.md', encoding='utf-8') as test: - cd = main(test.read()) + cd = f""" + + + 页面标题 + + + {main(test.read())} + +""" with open('test.html', 'w', encoding='utf-8') as html: html.write(cd) From c9659a26119d8a4132eb828d765c9086a5436290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=A8=E8=B6=8A=E6=99=A8=E6=98=8F?= <91008228+CrossDark@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:53:08 +0800 Subject: [PATCH 2/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 99971cc..8751c76 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ -# MarkDown.CD +# CrossDown 自制的markdown,添加了一些自定义的语法 +# 注释