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

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

7.1. directive

directive的格式为:

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

7.2. role

role的格式为:

:role名: 内容