Consider the following:
Nested lists:
https://gist.github.com/pulyaevskiy/5c0625f9bce49e0aef9ddff3ba736f65
Ordered lists:
An ordered list marker is a sequence of 1–9 arabic digits (0-9), followed by either a . character or a ) character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.)
Blocks in list items:
The most important thing to notice is that the position of the text after the list marker determines how much indentation is needed in subsequent blocks in the list item. If the list marker takes up two spaces of indentation, and there are three spaces between the list marker and the next character other than a space or tab, then blocks must be indented five spaces in order to fall under the list item.
Source: https://spec.commonmark.org/0.31.2/#list-items
Origin from Reddit discussion: https://www.reddit.com/r/Markdown/s/eYDi0iHklN
Consider the following:
Nested lists:
https://gist.github.com/pulyaevskiy/5c0625f9bce49e0aef9ddff3ba736f65
Ordered lists:
An ordered list marker is a sequence of 1–9 arabic digits (0-9), followed by either a . character or a ) character. (The reason for the length limit is that with 10 digits we start seeing integer overflows in some browsers.)
Blocks in list items:
The most important thing to notice is that the position of the text after the list marker determines how much indentation is needed in subsequent blocks in the list item. If the list marker takes up two spaces of indentation, and there are three spaces between the list marker and the next character other than a space or tab, then blocks must be indented five spaces in order to fall under the list item.
Source: https://spec.commonmark.org/0.31.2/#list-items
Origin from Reddit discussion: https://www.reddit.com/r/Markdown/s/eYDi0iHklN