6. rst的指令和角色(directive and role)

rst使用directive和role进行特殊操作。

6.1. directive

directive的格式为:

.. directive名:: 参数
   :参数:
   :参数:

6.2. role

role的格式为:

:role名: 内容