How to create a nested list in reStructuredText?

六月ゝ 毕业季﹏ 提交于 2019-12-02 21:32:30
ddbeck

Make sure the nested list is indented to the same level as the text of the parent list (or three characters, whichever is greater), like this:

1. X

   a. U
   b. V
   c. W

2. Y
3. Z

Then you'll get the output you expected.

If you want Sphinx to take care of the numbering for you, do this.

#. X
#. Y

   #. u 
   #. v 

#. Z
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!