Fixed it for you. And no, this is not a bug, but how Markdown works.
The key thing is to indent one level further and use a 4-space indent, so make it 8 spaces to indent. Also, no need to use incrementing numbers. Use 1.
for every list item.
So, an example:
1. item text.
some text below the item but under the same item.
1. next item increments numbers automatically.
1. Here's some code:
Code block line 1
Code block line 2
1. And here's item 4.
Renders to
item text.
some text below the item but under the same item.
next item increments numbers automatically.
Here's some code:
Code block line 1 Code block line 2
And here's item 4.