{"library":"remark-lint-heading-whitespace","title":"remark-lint-heading-whitespace","description":"remark-lint rule that detects non-breaking spaces (U+00A0) inserted accidentally after heading markers (e.g., '# ' instead of '# '), which causes headings to be parsed as plain paragraphs. Version 1.0.0 (latest) is stable and targets the remark-lint plugin ecosystem. No known release cadence. Differentiates from other lint rules by focusing on a specific, localization-driven typo that is common on keyboard layouts like Swiss German where '#' is typed via Alt+3 and Alt+Space produces a non-breaking space. Integrates as a remark-lint plugin.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-heading-whitespace"],"cli":null},"imports":["import remarkLintHeadingWhitespace from 'remark-lint-heading-whitespace'","import remarkLintHeadingWhitespace from 'remark-lint-heading-whitespace'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { remark } from 'remark';\nimport lint from 'remark-lint';\nimport remarkLintHeadingWhitespace from 'remark-lint-heading-whitespace';\n\nconst file = await remark()\n  .use(lint)\n  .use(remarkLintHeadingWhitespace)\n  .process('#\\u00A0bad heading');\n\nconsole.log(String(file)); // includes warning about non-breaking space","lang":"typescript","description":"Shows how to use the rule with remark, processing a heading containing a non-breaking space and outputting lint warnings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}