mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-16 22:10:13 +01:00
Add maximum parameter to MD012/no-multiple-blanks (fixes #27).
This commit is contained in:
parent
ce9ec8fb5e
commit
affd94e061
6 changed files with 86 additions and 5 deletions
|
|
@ -306,6 +306,8 @@ Tags: whitespace, blank_lines
|
|||
|
||||
Aliases: no-multiple-blanks
|
||||
|
||||
Parameters: maximum (number; default 1)
|
||||
|
||||
This rule is triggered when there are multiple consecutive blank lines in the
|
||||
document:
|
||||
|
||||
|
|
@ -323,6 +325,9 @@ To fix this, delete the offending lines:
|
|||
Note: this rule will not be triggered if there are multiple consecutive blank
|
||||
lines inside code blocks.
|
||||
|
||||
Note: The `maximum` parameter can be used to configure the maximum number of
|
||||
consecutive blank lines.
|
||||
|
||||
## MD013 - Line length
|
||||
|
||||
Tags: line_length
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue