remark-lint rule to warn when text in paragraphs is indented. Current stable version: 5.0.1 (ESM only, Node.js 16+). Part of the remark-lint monorepo; release cadence follows the monorepo (patch releases for all packages). Key differentiator: catches indentation in paragraph content which has no effect on rendering, helping maintain consistent markdown style. This rule has no options and is not included in any preset, so it must be explicitly added.
npm install remark-lint-no-paragraph-content-indentNo 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 API, including required imports and processing a markdown file.
Use import syntax. If using CommonJS, either stay on version 4.x or use dynamic import.
Test your markdown comprehensively; the rule only applies to indentation of continuation lines in the same paragraph.
Always .use(remarkLint) before this rule. Not an issue in recent versions but good practice.
npm install remark-lint-no-paragraph-content-indent and ensure Node.js >= 16
Use: import remarkLintNoParagraphContentIndent from 'remark-lint-no-paragraph-content-indent'
Remove the leading spaces from the continuation line of the paragraph.