JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 74915
  • Score
    100M100P100Q183157F
  • License MIT

remark-lint rule to warn when headings are too long

Package Exports

  • remark-lint-maximum-heading-length

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (remark-lint-maximum-heading-length) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

remark-lint-maximum-heading-length

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

# ![Alpha bravo charlie delta echo foxtrot golf hotel](http://example.com/nato.png)

License

MIT © Titus Wormer