In #3 I shortened the number of “nonindenting spaces” that can appear at the start of a line to 2.
Then I reread some of the rST spec and found out that this is also valid rST:
- list item
another paragraph in item 1
- another item
- one level down!
which should render to
<ul>
<li><p>list item</p>
<p>another paragraph in item 1</p>
</li>
<li><p>another item</p>
<ul class="simple">
<li><p>one level down!</p></li>
</ul>
but
- deeply indented
- one level down!
should also render to <ul><li>…<ul><li>…</li></ul></li></ul>, not <ul><li>…<code>…</code></li></ul>
In #3 I shortened the number of “nonindenting spaces” that can appear at the start of a line to 2.
Then I reread some of the rST spec and found out that this is also valid rST:
which should render to
but
- deeply indented - one level down!should also render to
<ul><li>…<ul><li>…</li></ul></li></ul>, not<ul><li>…<code>…</code></li></ul>