-
-
Notifications
You must be signed in to change notification settings - Fork 688
New issue
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
MD007: Allow several values for start_indent
#973
Comments
The existing issues you've linked to seem to cover most of what you describe here. What is new or unique for this issue? |
To my understanding #284 only asks for a check on the correct number of spaces?! I linked it because I though required changes are similiar?! Whereas I asked for the possibility to allow Here are some examples demonstrating what I ask for. MD007:
# Spaces for indent
indent: 4 we only allow lists to start at the beginning of the line, e.g. - cde
+ cde While with MD007:
# Spaces for indent
indent: 4
# Whether to indent the first level of the list
start_indented: true
# Spaces for first level indent (when start_indented is set)
start_indent: 2 we allow - cde
+ cde but not the example starting at the beginning of the line. With a setting MD007:
# Spaces for indent
indent: 4
# new option
allow_multiple_starts: [0,4,8] we would be more flexible. Moreover, as I mentioned in the issue description, with the config I posted, the |
Here are the relevant
.markdownlint.yaml
settingsThis might be related to #284.
The following markdown
is formatted to
because the
ul
is thought to be at level two, but the actualul
level is 1, just appears under anol
.If we can specify
Another use case are configuration possibilities when using the plugins for admonitions or content tabs (Both are fairly popular for the commonly used mkdocs material theme for documentation.
markdown-it-admon
support for admonitions is added (somehow related DavidAnson/vscode-markdownlint#302 at least for me :)).However than problems arise with
Similarly if the proposed rule of #138 is implemented it is also important there.
The text was updated successfully, but these errors were encountered: