Warn when headings are too long.
Options: number
, default: 60
.
Ignores markdown syntax, only checks the plain text content.
Install
npm install --save remark-lint-maximum-heading-length
Example
When this rule is 40
, the following file
invalid.md
is not ok:
# Alpha bravo charlie delta echo foxtrot golf hotel
1:1-1:52: Use headings shorter than `40`
When this rule is turned on, the following file
valid.md
is ok:
# Alpha bravo charlie delta echo foxtrot golf hotel
# 
License
MIT © Titus Wormer