I wonder if it's possible to create two consecutive lists in markdown without them being merged automatically:
Example:
The following markdown doesn't work since it puts the second list inside the last element of the first list:
* a
* b
1. x
2. y
Demo:
b
While any solutions are welcome, I'd prefer one working with python-markdown.
The easiest and cleanest way that I found is adding a comment between lists:
* a
* b
<!-- -->
1. x
2. y
Here is a working example in stackoverflow's markdown:
However, it's sad that this bugs occurs: someone must go and fill the bugs for it for different markdown implementations.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With