TL;DR
Mado is a newly released Markdown linter developed in Rust, promising significantly improved performance over existing tools like markdownlint. Its compatibility with CommonMark and GFM makes it a notable option for developers seeking faster code quality checks.
A new Markdown linter named Mado, developed in Rust, has been launched, claiming to be up to 60 times faster than existing tools like markdownlint, with support for CommonMark and GitHub Flavored Markdown (GFM).
Mado can be installed via multiple package managers including Homebrew, Nix, and Scoop, and is available for Windows, macOS, and Linux. It supports most markdownlint rules, with stable and unstable support for various rules, and can be configured through local or global configuration files.
Performance benchmarks conducted on a MacBook Pro (2021, M1 Max) indicate that Mado processes approximately 49-60 times faster than comparable linters such as markdownlint-cli (Node.js) and markdownlint (Ruby). Specifically, it can lint around 1,500 Markdown files in a fraction of the time taken by other tools, according to tests shared on Hacker News.
Why It Matters
The introduction of Mado could significantly impact workflows that rely on Markdown linting, especially in large codebases or documentation projects where speed is critical. Its performance advantages may lead to increased adoption among developers seeking faster, efficient tools for code quality assurance.
Markdown linter for developers
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Background
Existing Markdown linters like markdownlint and markdownlint-cli are widely used but have performance limitations, especially with large datasets. Mado’s development in Rust aims to address these issues by offering a faster alternative, leveraging Rust’s efficiency and safety features. The tool’s compatibility with common Markdown standards ensures it can be integrated into existing workflows without significant changes.
“Mado is designed to be a high-performance Markdown linter that can handle large sets of files efficiently, making it ideal for documentation-heavy projects.”
— Aki Omik, developer of Mado
“The speed improvements are remarkable; it’s a game-changer for large repositories.”
— Hacker News user
Rust-based Markdown tools
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What Remains Unclear
It is not yet clear how Mado’s performance scales with different types of Markdown files or in various environments. Long-term stability and compatibility with all markdownlint rules are still being evaluated, and user adoption is ongoing.
Fast Markdown linting software
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
What’s Next
Developers and teams are expected to test Mado in real-world projects, with further updates and feature support likely in upcoming releases. Monitoring community feedback and benchmarking results will be key to assessing its broader impact.
Markdown validation tools for CI/CD
As an affiliate, we earn on qualifying purchases.
As an affiliate, we earn on qualifying purchases.
Key Questions
How does Mado compare in performance to existing Markdown linters?
Benchmarks show Mado is approximately 49-60 times faster than tools like markdownlint-cli and markdownlint, especially on large datasets.
What platforms does Mado support?
Mado is available on macOS, Linux, and Windows, with installation options via Homebrew, Nix, Scoop, WinGet, and manual binaries.
Does Mado support all markdownlint rules?
Most rules are supported, with stable support for many, though some rules are marked as unstable or unsupported. Users should verify rule support for their specific needs.
Can Mado be integrated into CI/CD pipelines?
Yes, Mado is compatible with GitHub Actions and can be scripted for CI/CD workflows.