Add maximum parameter to MD012/no-multiple-blanks (fixes #27).

This commit is contained in:
David Anson 2016-10-03 21:42:44 -07:00
parent ce9ec8fb5e
commit affd94e061
6 changed files with 86 additions and 5 deletions

View file

@ -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