4 ms·
From the section Deimorz linked: > The point is, if you want to, you can use ordinal numbers in your ordered Markdown lists, so that the numbers in your source
by wolfgang42 7y ago
From the section Deimorz linked:
> The point is, if you want to, you can use ordinal numbers in your ordered Markdown lists, so that the numbers in your source match the numbers in your published HTML. But if you want to be lazy, you don’t have to.
However, the complete disregard for the actual numbers seems to have been for ease of implementation in markdown.pl (the original implementation, which is what this doc is describing). The next paragraph notes:
> If you do use lazy list numbering, however, you should still start the list with the number 1. At some point in the future, Markdown may support starting ordered lists at an arbitrary number.
- hunter2_ 7y ago> starting ordered lists at an arbitrary number The solution would need to be not just that, but also letting every li be arbitrarily enumerated. And at that point it's not even an ol, it's a ul (from a machine perspective) where the author might happen to mimick an ol. Or just nothing structured at all -- which would probably be a net positive.
- icegreentea2 7y agoThe underlying HTML <ol> element allows arbitrary values through the value tag. One of the original selling points of Markdown (at least in Gruber's post) is that is "seamlessly integrates" with HTML, in that you are in principle able to mix and match Markdown and HTML and get predictable HTML output. I think it was that aspect of Markdown that let it be so... sloppy? That aspect of Markdown seems to have fallen away with the rise of Markdown extensions and standards.