Closed wolf99 closed 3 years ago
The specification calls out that blank lines are allowed between list items and do not "split" the list: https://spec.commonmark.org/0.30/#lists
Oh. I agree the spec does indicate that. However, do you know is there then a recommended way to have two separate ordered lists, one after the other ?
Example 308 suggests an empty HTML comment: https://spec.commonmark.org/0.30/#example-308
Yuck. But it works 😅
Doesn't this breach MD033? https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md033---inline-html
No, comments are not elements and example 308 does not trigger any violations: https://dlaa.me/markdownlint/#%25m%23%20Example%20308%0A%0A-%20foo%0A-%20bar%0A%0A%3C!--%20--%3E%0A%0A-%20baz%0A-%20bim%0A
Using the following triggers MD029
Seems like markdownlint incorrectly continues index counting across the newline. That is, it does not allow the new line between the lists to start a new list as far as the list index numbers are concerned.
Markdownlint v0.43.2 in MS VS Ccode 1.60.1 (seen on 1.60.0 also) on MS Windows 10 1909