Here’s a markdown puzzle for everyone… It’s an extended version of Example 213 in the spec.
What would be the expected result of the following sample?
1. zero 1. one 1. two 1. three 1. four 1. five 1. six 1. seven 1. eight 1. nine 1. ten
and would you expect the following to render differently?
100. zero 1. one 1. two 1. three 1. four 1. five 1. six 1. seven 1. eight 1. nine 1. ten
Here are the dingus links so you can test if you were right
The behaviour seems odd to me, and the result is complete different in commonmark.js compared to others like markdown.pl and GFM. But I am having trouble working out whether that is due to a bug in commonmark.js, or whether I am just not understanding the spec properly.
Based on the text above examples 197 and 213, I would have expected Sample 1 to be rendered
1. zero 2. one 3. two 4. three 5. four 6. five 7. six 8. seven 9. eight 10. nine 11. ten
since none of the lines is indented enough to become a sublist. The “four” line is being treated as a continuation. But I am not sure why that is the case.
So, is this a bug, or a spec issue, or BKAC issue?