1

Consider the following list in Sphinx:

#. List item 1
#. List item 2

.. code-block:: Objective-C

    Blah1.framework
    Blah2.framework
    libfoo.dylib
    libbar.dylib
#. List item 3
#. ...

The list numbering is reset after the code block, so I an html with:

1. List item 1
2. List item 2

    Blah1.framework
    Blah2.framework
    libfoo.dylib
    libbar.dylib

1. List item 3    <--- Numbering is reset to 1
2. ...

Is there a way to continue the list numbering after a code block?

Adam Matan
  • 128,757
  • 147
  • 397
  • 562
  • 1
    What about this answer given to a similar question? http://stackoverflow.com/a/29371701/407651 – mzjn Jun 08 '15 at 19:09

0 Answers0