mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-04-25 09:16:02 +03:00
[GH-ISSUE #1023] How to configure MD012 #2441
Labels
No labels
bug
enhancement
enhancement
enhancement
fixed in next
fixed in next
fixed in next
new rule
new rule
new rule
pull-request
question
refactoring
refactoring
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/markdownlint#2441
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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#configurationA complete example can be found here: https://github.com/DavidAnson/markdownlint/blob/main/schema/.markdownlint.jsonc
@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:
@DavidAnson commented on GitHub (Oct 27, 2023):
That's described here: https://github.com/DavidAnson/vscode-markdownlint#markdownlintconfig
Typically the root of the project.