7. rst的指令和角色(directive and role)
directive说明:http://docutils.sourceforge.net/docs/ref/rst/directives.html
role说明:http://docutils.sourceforge.net/docs/ref/rst/roles.html
rst使用directive和role进行特殊操作。
7.1. directive
directive的格式为:
.. directive名:: 参数
:参数:
:参数:
7.2. role
role的格式为:
:role名: 内容