From bd188585eb9c266303591165b8800c28000e21ab Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Fri, 10 Apr 2026 03:25:37 +0000 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20README.rst?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.rst | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 README.rst diff --git a/README.rst b/README.rst new file mode 100644 index 0000000..908391e --- /dev/null +++ b/README.rst @@ -0,0 +1,45 @@ + + 文档主标题(一级标题) +====================== + +这是副标题或章节标题 +==================== + +这里是正文段落。RST 对缩进非常敏感, +就像 Python 代码一样。 + +二级标题(子章节) +------------------ + +* 这是无序列表项 1 +* 这是无序列表项 2 + * 子列表项(注意缩进) + +1. 这是有序列表项 1 +2. 这是有序列表项 2 + +三级标题 +~~~~~~~~ + +可以使用加粗 **粗体** 或 *斜体*。 + +代码块示例: + +.. code-block:: python + + def hello_world(): + print("Hello, RST!") + +引用示例: + + “这是一个块引用。它通常用于 + 引用长段文字。” + +超链接与图片: + +* 这是一个外部链接:`Python 官网 `_ +* 插入图片(假设当前目录下有图片): + +.. image:: + :width: 400 + :alt: 图片描述 \ No newline at end of file