Possibly related to #275 or #263
Adding a code block inside of a list results in the parser immediately exiting the list <li> and <ul> / <ol> for the code block and anything below it. Note that this is with "fenced-code-blocks" enabled.
For this markdown:
1. asdf
```
asdf
```
asdf
1. qwer
python-markdown2 produces:
- asdf
asdf
- qwer
Github markdown syntax produces:
- asdf
asdf
- qwer