A remark-lint rule that warns when a markdown paragraph starts with too many hash characters (#), making it resemble a heading but with more than the allowed maximum of six levels. Current stable version is 4.0.1, ESM-only, requires Node.js 16+. It is part of the unified/remark ecosystem and ships TypeScript types. Unlike general linting presets, this rule specifically targets invalid heading-like paragraphs, catching common typos where users accidentally add extra hashes (e.g., ####### Venus). No options are needed. Releases follow the main remark-lint monorepo.
npm install remark-lint-no-heading-like-paragraphNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the rule with unified, remark-lint, and vfile-reporter to lint a markdown file.
Use import instead of require, or stick with v3 if CommonJS is needed.
Upgrade to v4 and switch to ESM.
This is by design; use other rules like remark-lint-heading-style for heading linting.
Change to import statement: import remarkLintNoHeadingLikeParagraph from 'remark-lint-no-heading-like-paragraph'
Ensure you call .use(remarkLint) before .use(remarkLintNoHeadingLikeParagraph)
Run npm install remark-lint-no-heading-like-paragraph and ensure the import path is correct.