A collection of remark plugins to lint and enforce consistent Markdown code style.
remark-lint is a collection of plugins for the remark Markdown processor that checks Markdown files for style consistency, common mistakes, and cross-parser compatibility. It helps automate the enforcement of Markdown code standards, ensuring documentation is clean, consistent, and less prone to errors.
Developers and technical writers who author documentation in Markdown and need to maintain consistent style across teams or projects, especially those using the remark ecosystem.
It offers a highly extensible, rule-based approach integrated directly into the remark toolchain, with fine-grained control and the ability to create custom rules, unlike generic Markdown validators.
plugins to check (lint) markdown code style
Offers over 70 granular rules, such as ordered-list-marker-style and emphasis-marker, covering specific aspects from whitespace to cross-parser compatibility, as detailed in the README's rules list.
Supports configurable presets like remark-preset-lint-recommended, inline control via HTML comments to disable/enable rules, and custom rule creation, allowing tailored linting workflows.
Seamlessly works with remark's API, CLI, and editor integrations (VS Code, Sublime, Vim), making it easy to embed in existing development pipelines, as highlighted in the Integrations section.
Uses warnings instead of errors to avoid blocking processing, enabling continuous checks and formatting, which is explicitly noted in the Configure section for maintaining workflow flexibility.
Syncing lint rules with remark-stringify formatting settings is manual and error-prone, requiring separate configuration steps, as shown in the 'check and format' examples where users must duplicate settings.
Deeply tied to the unified/remark ecosystem, limiting its usefulness for projects using alternative Markdown toolchains, and requiring familiarity with mdast for custom rule development.
While it checks for issues, automatic fixes require coupling with remark's formatting, which isn't integrated by default—users must manually handle corrections, adding overhead compared to all-in-one linters.
:pencil: A markup-aware linter for prose built with speed and extensibility in mind.
Naive linter for English prose
A linter for prose.
Markdown lint tool
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.