You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have following MD030 setting in my .markdownlint.yaml
# MD030/list-marker-space - Spaces after list markersMD030:
# Spaces for single-line unordered list itemsul_single: 3# Spaces for single-line ordered list itemsol_single: 2# Spaces for multi-line unordered list itemsul_multi: 3# Spaces for multi-line ordered list itemsol_multi: 2
Following "long" ordered list
1. a
2. b
3. c
4. d
5. e
6. f
7. g
8. h
9. i
10. j
gives the warning MD030/list-marker-space: Spaces after list markers [Expected: 2; Actual: 1]markdownlint[MD030](https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md030.md) for the line 10. j.
The make the linter happy I have to change above list to
1. a
2. b
3. c
4. d
5. e
6. f
7. g
8. h
9. i
10. j
i.e. add an additional space after 10..
Is it possible to make the ol_single and ol_multi settings dynamic in the sense of Start item text at character 5?
Maybe with an alternative setting like first_item_text_char: 5 which overwrites the ones not explicitly set?
The text was updated successfully, but these errors were encountered:
DavidAnson
changed the title
MD030 and high numbers in ordered lists
MD030: Support variable indent high numbers in ordered lists
Sep 12, 2023
DavidAnson
changed the title
MD030: Support variable indent high numbers in ordered lists
MD030: Support variable indent in ordered lists for visual alignment
Sep 12, 2023
I have following
MD030
setting in my.markdownlint.yaml
Following "long" ordered list
gives the warning
MD030/list-marker-space: Spaces after list markers [Expected: 2; Actual: 1]markdownlint[MD030](https://github.com/DavidAnson/markdownlint/blob/v0.29.0/doc/md030.md)
for the line10. j
.The make the linter happy I have to change above list to
i.e. add an additional space after
10.
.Is it possible to make the
ol_single
andol_multi
settings dynamic in the sense ofStart item text at character 5
?Maybe with an alternative setting like
first_item_text_char: 5
which overwrites the ones not explicitly set?The text was updated successfully, but these errors were encountered: