Package Exports
- remark-lint-no-heading-like-paragraph
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-no-heading-like-paragraph) 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-no-heading-like-paragraph
Warn for h7+ “headings”.
Presets
This rule is not included in any default preset
Example
valid.md
In
###### Alpha
Bravo.Out
No messages.
invalid.md
In
####### Charlie
Delta.Out
1:1-1:16: This looks like a heading but has too many hashesInstall
npm:
npm install remark-lint-no-heading-like-paragraphUse
You probably want to use it on the CLI through a config file:
...
"remarkConfig": {
"plugins": [
...
"lint",
+ "lint-no-heading-like-paragraph",
...
]
}
...Or use it on the CLI directly
remark -u lint -u lint-no-heading-like-paragraph readme.mdOr use this on the API:
var remark = require('remark');
var report = require('vfile-reporter');
remark()
.use(require('remark-lint'))
+ .use(require('remark-lint-no-heading-like-paragraph'))
.process('_Emphasis_ and **importance**', function (err, file) {
console.error(report(err || file));
});Contribute
See contributing.md in remarkjs/.github for ways
to get started.
See support.md for ways to get help.
This project has a Code of Conduct. By interacting with this repository, organisation, or community you agree to abide by its terms.