[GH-ISSUE #1023] How to configure MD012 #2441

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

Originally created by @dbolser on GitHub (Oct 27, 2023).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1023

Really sorry for the basic question... For me MD012 looks too crowded, I like a lot of vertical whitespace ;-)

When I look here:
https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md#md012---multiple-consecutive-blank-lines

I see that I can increase the default maximum, but I can't work out where to do it...

Many thanks,
Dan.

Originally created by @dbolser on GitHub (Oct 27, 2023). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1023 Really sorry for the basic question... For me MD012 looks too crowded, I like a lot of vertical whitespace ;-) When I look here: https://github.com/DavidAnson/markdownlint/blob/main/doc/md012.md#md012---multiple-consecutive-blank-lines I see that I can increase the default maximum, but I can't work out where to do it... Many thanks, Dan.
kerem 2026-03-07 20:07:48 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (Oct 27, 2023):

That documentation is here: https://github.com/DavidAnson/markdownlint#optionsconfig

If you are using the library through a CLI, you will probably want to create a .markdownlint.json(c) file instead: https://github.com/DavidAnson/markdownlint-cli2#configuration

A complete example can be found here: https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc

<!-- gh-comment-id:1783155376 --> @DavidAnson commented on GitHub (Oct 27, 2023): That documentation is here: https://github.com/DavidAnson/markdownlint#optionsconfig If you are using the library through a CLI, you will probably want to create a `.markdownlint.json(c)` file instead: https://github.com/DavidAnson/markdownlint-cli2#configuration A complete example can be found here: https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc
Author
Owner

@dbolser commented on GitHub (Oct 27, 2023):

Thank you. Where do I put that file? (Sorry!) I'm using vscode.

On Fri, 27 Oct 2023, 4:59 pm David Anson, @.***> wrote:

That documentation is here:
https://github.com/DavidAnson/markdownlint#optionsconfig

If you are using the library through a CLI, you will probably want to
create a .markdownlint.json(c) file instead:
https://github.com/DavidAnson/markdownlint-cli2#configuration

A complete example can be found here:
https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc


Reply to this email directly, view it on GitHub
https://github.com/DavidAnson/markdownlint/issues/1023#issuecomment-1783155376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA7NE6XRXH5523MAYENJV3YBPK7JAVCNFSM6AAAAAA6SVHQF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGE2TKMZXGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

<!-- gh-comment-id:1783453661 --> @dbolser commented on GitHub (Oct 27, 2023): Thank you. Where do I put that file? (Sorry!) I'm using vscode. On Fri, 27 Oct 2023, 4:59 pm David Anson, ***@***.***> wrote: > That documentation is here: > https://github.com/DavidAnson/markdownlint#optionsconfig > > If you are using the library through a CLI, you will probably want to > create a .markdownlint.json(c) file instead: > https://github.com/DavidAnson/markdownlint-cli2#configuration > > A complete example can be found here: > https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc > > — > Reply to this email directly, view it on GitHub > <https://github.com/DavidAnson/markdownlint/issues/1023#issuecomment-1783155376>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAA7NE6XRXH5523MAYENJV3YBPK7JAVCNFSM6AAAAAA6SVHQF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGE2TKMZXGY> > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >
Author
Owner

@DavidAnson commented on GitHub (Oct 27, 2023):

That's described here: https://github.com/DavidAnson/vscode-markdownlint#markdownlintconfig

Typically the root of the project.

<!-- gh-comment-id:1783517908 --> @DavidAnson commented on GitHub (Oct 27, 2023): That's described here: https://github.com/DavidAnson/vscode-markdownlint#markdownlintconfig Typically the root of the project.
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#2441
No description provided.