{"library":"remark-lint-no-heading-like-paragraph","title":"remark-lint-no-heading-like-paragraph","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-no-heading-like-paragraph"],"cli":null},"imports":["import remarkLintNoHeadingLikeParagraph from 'remark-lint-no-heading-like-paragraph'","import remarkLintNoHeadingLikeParagraph from 'remark-lint-no-heading-like-paragraph'","import type { Transformer } from 'unified'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified';\nimport remarkParse from 'remark-parse';\nimport remarkStringify from 'remark-stringify';\nimport remarkLint from 'remark-lint';\nimport remarkLintNoHeadingLikeParagraph from 'remark-lint-no-heading-like-paragraph';\nimport { read } from 'to-vfile';\nimport { reporter } from 'vfile-reporter';\n\nconst file = await read('example.md');\n\nconst result = await unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintNoHeadingLikeParagraph)\n  .use(remarkStringify)\n  .process(file);\n\nconsole.error(reporter(result));","lang":"typescript","description":"Shows how to use the rule with unified, remark-lint, and vfile-reporter to lint a markdown file.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}