mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-07 08:28:49 +01:00
27 lines
No EOL
573 B
Markdown
27 lines
No EOL
573 B
Markdown
# MD012 - Multiple consecutive blank lines
|
|
|
|
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:
|
|
|
|
Some text here
|
|
|
|
|
|
Some more text here
|
|
|
|
To fix this, delete the offending lines:
|
|
|
|
Some text here
|
|
|
|
Some more text here
|
|
|
|
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. |