The following:
Follow these instructions: # Do something # Run this code ``` mkdir foobar cd foobar ``` # Do something else (this should be number 3)
Yields:
Follow these instructions:
- Do something
- Run this code
mkdir foobar cd foobar
- Do something else (this should be number 3)
Because the code block is outside of the <li> and the <ul>, the next item starts a new <ul> and restarts the numbering. It might also be nice to be able to have multiple paragraphs in an li.
You can already have block level images, just because of the way you can embed images. For example:
# One # Two {F149745} # Three
- One
- Two
- Three
The image above is part of the previous <li> so the third item is numbered as number 3.