{"library":"remark-lint-definition-case","title":"remark-lint-definition-case","description":"A remark-lint rule that warns when definition labels in Markdown are not lowercase, helping enforce consistent casing. Current stable version is 4.0.1, published as part of the remark-lint monorepo. The plugin is ESM-only, supports Node.js 16+, and is compatible with remark-lint presets like remark-preset-lint-markdown-style-guide. It works with regular definitions and GFM footnote definitions. No options are required.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-definition-case"],"cli":null},"imports":["import remarkLintDefinitionCase from 'remark-lint-definition-case'","import remarkLintDefinitionCase from 'remark-lint-definition-case'",".use(remarkLintDefinitionCase)"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { read } from 'to-vfile'\nimport { reporter } from 'vfile-reporter'\nimport { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintDefinitionCase from 'remark-lint-definition-case'\n\nconst file = await read('example.md')\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintDefinitionCase)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Shows how to use remark-lint-definition-case in a unified pipeline to lint a Markdown file and output messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}