Remark preset that configures remark-lint rules to enforce the Markdown Style Guide. Version 6.0.1 ships TypeScript types and is actively maintained as part of the remark-lint monorepo. It includes 30+ lint rules with sensible defaults like fenced code blocks, ATX headings, and hyphen unordered list markers. Unlike generic presets, this one maps directly to an existing style guide and supports overrides for space-sentence, wrap, header, list-marker, list-space, and code options. Release cadence is patch-level; breaking changes are rare and documented in changelogs.
npm install remark-preset-lint-markdown-style-guideNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to set up a unified pipeline with remark-lint and the markdown style guide preset, then lint a simple markdown string.
Migrate to ESM or use dynamic import: const pkg = await import('remark-preset-lint-markdown-style-guide')Override 'remark-lint-heading-style' option to 'setext' via preset configuration.
Update Node.js to version 12 or later.
Do not include 'remark-lint' separately unless you need custom options.
Follow the README's override patterns: e.g., use ['remark-lint-maximum-line-length', false] to disable line length.
npm install remark-preset-lint-markdown-style-guide and ensure your project is ESM or use dynamic import.
Change to: import remarkPresetLintMarkdownStyleGuide from 'remark-preset-lint-markdown-style-guide'
Set type: 'module' in package.json or rename file to .mjs.
Correct syntax: ['remark-lint-maximum-line-length', false] (array of two elements)