相关疑难解决方法(0)

Sphinx:在笔记部分后继续列表编号

请考虑ReStructuredText中的以下列表:

Broken list example
-------------------

#. First do spam
#. Then do ``eggs``

  .. note::

    Nobody expects the Spanish Inquisistion

#. The list restarts after the note
Run Code Online (Sandbox Code Playgroud)

Sphinx中编译列表时,注释后的数字将重置为1:

列表编号重启结果截图

任何想法如何在一note节后继续编号列表?

restructuredtext python-sphinx continuation numbered-list

11
推荐指数
1
解决办法
1907
查看次数