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.
npm install remark-lint-definition-caseNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use remark-lint-definition-case in a unified pipeline to lint a Markdown file and output messages.
Use import syntax instead of require(). Ensure Node.js version 16+.
No action needed; this is by design. Ensure definition labels are lowercase to avoid warnings.
Do not pass options to the plugin.
Run 'npm install remark-lint-definition-case' and ensure import path is correct.
Use the import directly: .use(remarkLintDefinitionCase), not .use(remarkLintDefinitionCase()).