{"library":"remark-lint-ordered-list-marker-value","title":"remark-lint-ordered-list-marker-value","description":"A remark-lint rule to check the marker value of ordered lists in Markdown. Current version 4.0.1, part of the remark-lint ecosystem, released as needed. It enforces one of three styles: 'one' (all markers must be 1), 'ordered' (sequential increment), or 'single' (same as first). The default 'consistent' infers style from the first two-item list. Works with unified, ESM-only. Commonly used in lint presets like remark-preset-lint-consistent.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install remark-lint-ordered-list-marker-value"],"cli":null},"imports":["import remarkLintOrderedListMarkerValue from 'remark-lint-ordered-list-marker-value'","import type { Options } from 'remark-lint-ordered-list-marker-value'","import type { Style } from 'remark-lint-ordered-list-marker-value'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { unified } from 'unified'\nimport remarkParse from 'remark-parse'\nimport remarkStringify from 'remark-stringify'\nimport remarkLint from 'remark-lint'\nimport remarkLintOrderedListMarkerValue from 'remark-lint-ordered-list-marker-value'\n\nconst processor = unified()\n  .use(remarkParse)\n  .use(remarkStringify)\n  .use(remarkLint)\n  .use(remarkLintOrderedListMarkerValue, 'ordered')\n\nconst md = '1. Item 1\\n2. Item 2\\n'\nconst result = await processor.process(md)\nconsole.log(String(result))","lang":"typescript","description":"Demonstrates using remark-lint-ordered-list-marker-value with unified, parsing Markdown, linting with 'ordered' style, and outputting the result.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}