rumdl is a single native binary that lints and formats Markdown with many rules, flavor profiles, caching, and markdownlint-compatible configuration discovery.
Overview
rumdl checks and formats Markdown in repositories and CI. It ships dozens of lint rules for headings, lists, whitespace, code fences, links, images, and style consistency, and can auto-fix many issues with a fix flag or dedicated format command. stdin and stdout modes suit editors and pipelines.
Configuration uses TOML files, discovers common markdownlint setups, and supports per-path overrides. Markdown flavors—such as GFM, MkDocs, MDX, Quarto, MyST, Obsidian, and others—adjust rule behavior and can be set globally or by file pattern with filename auto-detection.
Caching re-lints only changed files on later runs, which helps watch mode and editor plugins. Editor integrations provide real-time linting, format on save, hover help, and schema-backed config. Installation options include package managers, pip, npm, Cargo, standalone binaries, Docker images, and a language server command for IDE use.
Pre-commit hooks and a GitHub Action wrap the CLI for automated checks. The tool exits non-zero when violations remain, and can emit text or JSON reports.
Key features
- Markdown lint rules
- Format and fix commands
- Result caching on reruns
- Multiple Markdown flavor presets
- markdownlint config import
- stdin and stdout formatting
- LSP server mode
- Docker and CI GitHub Action
Use cases
- Markdown style in documentation repos
- Pre-commit doc linting
- CI Markdown format checks
- Editor format-on-save for docs