标题

每个 RST 源文件都有树状结构。 在一个文件中使用以下非字母数字字符定义最多三个标题级别

  • 标题 1 - 用等号下划线和上划线;

    • 标题 2 - 用破折号下划线;

      • 标题 3 - 用波浪号下划线。

输入

=========
Heading 1
=========

Body of the first level section that includes general overview
of the subject to be covered by the whole section.
Can include several focused Heading-2-sections.

Heading 2
---------

Body of the second level section that gives detailed explanation of one
of the aspects of the subject. Can include several Heading-3-sections.

Within user guides, it is mostly used to entitle a procedure with a set
of actions targeted at a single task performance.
For example, "Associate floating IP addresses".

Heading 3
~~~~~~~~~

Body of the third level section.
It includes very specific content, and occurs mainly in guides containing
technical information for advanced users.

注意

下划线和上划线的长度应与标题文本的长度相同。

避免使用较低级别的标题,请通过重写和重新组织信息来解决。

参见

通用 标题和标题的指南