Triple-quoted code breaks list
Opened this issue · 0 comments
gagern commented
While triple codes can be used to introduce a fenced code block, they may also be used to mark an inline code span. However for the sake of list item formatting, this distinction is broken:
* First item
```Triple quoted code```
* Second list item
```More such code```
* Last list item
This ends the list after the first item, starting a new list for the second item. The bullet of the third item gets consumed into the body of the second list item. Taken together I get
<li><p>First item</p>
<p><code>Triple quoted code</code></p></li>
</ul>
<ul>
<li><p>Second list item</p>
<p><code>More such code</code>
* Last list item</p></li>
</ul>