[GH-ISSUE #124] Change indent on MD030 - Property indent not allowed. #1952

Closed
opened 2026-03-07 20:03:05 +03:00 by kerem · 3 comments
Owner

Originally created by @kimfucious on GitHub (May 24, 2018).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/124

Hi there,

I'm old. Old enough that there is no way to train my thumbs to not use two spaces after certain things.

Having said that, I wanted to change the indent property for MD030 from one space to two.

When I try to add the following in vsCode user settings, I get the message:

Property indent not allowed

"markdownlint.config": {
        "MD013": false,
        "MD030": { "indent": 2 }
    }

I realize that this could be a vsCode issue, and Ive searched around for a solution, but I've come up short.

Any ideas?

Originally created by @kimfucious on GitHub (May 24, 2018). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/124 Hi there, I'm old. Old enough that there is no way to train my thumbs to not use two spaces after certain things. Having said that, I wanted to change the indent property for MD030 from one space to two. When I try to add the following in vsCode user settings, I get the message: > Property indent not allowed ``` "markdownlint.config": { "MD013": false, "MD030": { "indent": 2 } } ``` I realize that this *could* be a vsCode issue, and Ive searched around for a solution, but I've come up short. Any ideas?
kerem 2026-03-07 20:03:05 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (May 24, 2018):

There are 4 parameters to MD030: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030

If you set them each (instead of indent), this should work for you.

<!-- gh-comment-id:391743281 --> @DavidAnson commented on GitHub (May 24, 2018): There are 4 parameters to MD030: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030 If you set them each (instead of indent), this should work for you.
Author
Owner

@kimfucious commented on GitHub (May 24, 2018):

Excellent; thanks. That did it!

Indent was simply the wrong property to be using.

I changed ol-single and ol_multi to suit my needs, leaving the ul’s alone, as my thumb is weirdly is okay with one space on those.

Don’t hate me for this, but you use “parameters” throughout your docs, when “properties” might be a more accurate term.

Great product, MarkdownLint. Nice work! :)

On 24May, 2018, at 9:50 PM, David Anson notifications@github.com wrote:

There are 4 parameters to MD030: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030 https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030
If you set them each (instead of indent), this should work for you.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/DavidAnson/markdownlint/issues/124#issuecomment-391743281, or mute the thread https://github.com/notifications/unsubscribe-auth/AZjTQcFgktecMoJnBeQPfj9d0aE5Cyv8ks5t1sjBgaJpZM4UL7Sp.

<!-- gh-comment-id:391799619 --> @kimfucious commented on GitHub (May 24, 2018): Excellent; thanks. That did it! Indent was simply the wrong property to be using. I changed ol-single and ol_multi to suit my needs, leaving the ul’s alone, as my thumb is weirdly is okay with one space on those. Don’t hate me for this, but you use “parameters” throughout your docs, when “properties” might be a more accurate term. Great product, MarkdownLint. Nice work! :) > On 24May, 2018, at 9:50 PM, David Anson <notifications@github.com> wrote: > > There are 4 parameters to MD030: https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030 <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030> > If you set them each (instead of indent), this should work for you. > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub <https://github.com/DavidAnson/markdownlint/issues/124#issuecomment-391743281>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AZjTQcFgktecMoJnBeQPfj9d0aE5Cyv8ks5t1sjBgaJpZM4UL7Sp>. >
Author
Owner

@DavidAnson commented on GitHub (May 24, 2018):

Cool.

PS - They are parameters to the rule, but properties on the object. I will think more about that.

<!-- gh-comment-id:391825429 --> @DavidAnson commented on GitHub (May 24, 2018): Cool. PS - They are parameters to the rule, but properties on the object. I will think more about that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#1952
No description provided.