{"library":"remark-lint-list-item-content-indent","title":"remark-lint-list-item-content-indent","description":"remark-lint rule (v4.0.1, latest) that warns when list item content has inconsistent indentation. It checks the first child of each list item and flags subsequent children that do not align with it. This is part of the remark-lint ecosystem, ESM-only, ships TypeScript types. Key differentiator: it catches mixed indentation in multi-line list items, helping maintain consistent Markdown formatting. Compatible with Node.js 16+ and modern browsers via esm.sh.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-list-item-content-indent"],"cli":{"name":"remark","version":null}},"imports":["import remarkLintListItemContentIndent from 'remark-lint-list-item-content-indent'","import remarkLint from 'remark-lint'","import { unified } from 'unified'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintListItemContentIndent from 'remark-lint-list-item-content-indent'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport { read } from 'to-vfile'\nimport { unified } from 'unified'\nimport { reporter } from 'vfile-reporter'\n\nconst file = await read('example.md')\n\nawait unified()\n  .use(remarkParse)\n  .use(remarkLint)\n  .use(remarkLintListItemContentIndent)\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Shows how to use the rule programmatically with unified: parse Markdown, lint for list item content indent issues, stringify back, and report messages.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}