In the following markdown code I want item 3 to start with list number 3. But because of the code block in between markdown starts this list item as a new list. Is there any way to prevent that behaviour?
Desired output:
1. item 1
2. item 2
```
Code block
```
3. item 3
Produced output:
- item 1
- item 2
Code block
- item 3
<code>HTML element with newlines in it, which is not syntax-highlightable, and has an extra blank line above visibly highlighted as code.29. this is list item number 29. This may not work in all markdown parsers though.1.for every item in your numbered list and markdown will take care of the numbering for you. If you wish to start a list (make it look like a continuation) then start the list with the desired number e.g.3.The question as-is probably produces the desired output now. Answer below