{"library":"remark-lint-blockquote-indentation","title":"remark-lint-blockquote-indentation","description":"A remark-lint rule that warns when block quotes are indented too much or too little, checking the `>` marker and the spaces before content. The `remark-lint` ecosystem provides over 100 rules for linting Markdown. Current stable version 4.0.1 (ESM-only, requires Node.js 16+). Part of the unified/remark ecosystem, maintained by the remark team. Key differentiator: deeply integrated with remark-lint presets like `remark-preset-lint-consistent` and `remark-preset-lint-markdown-style-guide`.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-blockquote-indentation"],"cli":null},"imports":["import remarkLintBlockquoteIndentation from 'remark-lint-blockquote-indentation'","import type { Options } from 'remark-lint-blockquote-indentation'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import remarkLint from 'remark-lint'\nimport remarkLintBlockquoteIndentation from 'remark-lint-blockquote-indentation'\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(remarkLintBlockquoteIndentation, 2) // enforce 2 spaces after `>`\n  .use(remarkStringify)\n  .process(file)\n\nconsole.error(reporter(file))","lang":"typescript","description":"Shows how to apply the rule with a specific indentation option (2 spaces) and report lint warnings.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}