We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I use the following rule:
{ "ol-prefix": { "style": "ordered" } }
then markdownlint says "Ordered list item prefix (Expected: 1; Actual: 2)" to the following code:
1. a - b 2. c - d
It looks like markdownlint thinks that 2. c is the beginning of a new list, but it's the second item of the single ordered list.
2. c
If I indent the unordered lists, markdownlint says "Consider starting bulleted lists at the beginning of the line".
What is the correct way of using nested unordered lists in ordered lists?
The text was updated successfully, but these errors were encountered:
When indenting, did you use three spaces? The following should do what you want:
Markers for nested lists should begin under the text of the previous item - for numbered lists that's typically 3 vs. 2 spaces.
You can play around interactively here to see that markdown-it doesn't recognize the nested lists with just 2 spaces: https://dlaa.me/markdownlint/
markdown-it
Sorry, something went wrong.
@DavidAnson thanks!
No branches or pull requests
If I use the following rule:
then markdownlint says "Ordered list item prefix (Expected: 1; Actual: 2)" to the following code:
It looks like markdownlint thinks that
2. c
is the beginning of a new list, but it's the second item of the single ordered list.If I indent the unordered lists, markdownlint says "Consider starting bulleted lists at the beginning of the line".
What is the correct way of using nested unordered lists in ordered lists?
The text was updated successfully, but these errors were encountered: