文档主标题(一级标题) ====================== 这是副标题或章节标题 ==================== 这里是正文段落。RST 对缩进非常敏感, 就像 Python 代码一样。 二级标题(子章节) ------------------ * 这是无序列表项 1 * 这是无序列表项 2 * 子列表项(注意缩进) 1. 这是有序列表项 1 2. 这是有序列表项 2 三级标题 ~~~~~~~~ 可以使用加粗 **粗体** 或 *斜体*。 代码块示例: .. code-block:: python def hello_world(): print("Hello, RST!") 引用示例: “这是一个块引用。它通常用于 引用长段文字。” 超链接与图片: * 这是一个外部链接:`Python 官网 `_ * 插入图片(假设当前目录下有图片): .. image:: :width: 400 :alt: 图片描述