Mado: Fast Markdown linter written in Rust
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Prime Big Deal Days · Oct 6–7Offer from Amazon

Get the latest gadgets delivered free — and shop member deals

  • Fast, free delivery on millions of items
  • Access to Prime Big Deal Days deals on October 6–7
  • Prime Video, Amazon Music and more included
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

Mado is a newly released markdown linter developed in Rust, claiming to be up to 60 times faster than existing linters like markdownlint. It supports CommonMark and GitHub Flavored Markdown and is compatible with multiple platforms.

A new markdown linter named Mado, developed in Rust, has been released, claiming to be up to 60 times faster than existing solutions such as markdownlint, and supporting CommonMark and GitHub Flavored Markdown (GFM).

Mado is a markdown linter compatible with CommonMark and GFM, designed to improve performance significantly. Benchmark tests conducted on a MacBook Pro (2021, M1 Max) indicate that Mado processes approximately 49-60 times faster than markdownlint-cli and other similar tools, depending on the dataset. It can be installed via multiple package managers, including Homebrew, Nix, and Scoop, with pre-built binaries available for download. Mado supports most markdownlint rules, with some marked as unstable or unsupported, and can be configured through local or global configuration files. It is also compatible with GitHub Actions for integration into automated workflows.

Why It Matters

This development matters because faster markdown linting can significantly improve developer productivity, especially in large documentation projects or continuous integration pipelines. By leveraging Rust’s performance capabilities, Mado could reduce linting times from minutes to seconds, enabling more efficient code reviews and documentation updates. Its compatibility with existing markdown rules and integration options makes it a relevant tool for developers seeking performance improvements.

Amazon

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. The recent benchmarking, conducted on a MacBook Pro with an M1 Max chip, shows that Mado outperforms these tools considerably. The release follows ongoing efforts within the developer community to optimize tooling for markdown processing, driven by the increasing size of documentation repositories and the demand for faster CI/CD pipelines.

“Mado leverages Rust’s speed to provide a markdown linting experience that is up to 60 times faster than existing tools.”

— Aki Omik, developer of Mado

“On a MacBook Pro (2021, M1 Max), Mado processes approximately 49-60 times faster than markdownlint-cli, depending on the dataset.”

— Benchmarking report

Amazon

Rust-based markdown linting tool

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 performs across all markdown rules, especially those marked as unstable or unsupported. The long-term stability and adoption rate among the developer community remain to be seen, as well as its performance on different operating systems beyond the initial benchmarks.

Amazon

Fast markdown checker for documentation

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

What’s Next

Next steps include wider adoption within the developer community, further benchmarking across diverse datasets, and potential integration into popular CI/CD pipelines. Developers and teams will likely monitor updates to Mado for stability improvements and new features.

Amazon

Markdown syntax validation software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

How does Mado compare to other markdown linters in performance?

Benchmark tests indicate Mado is approximately 49-60 times faster than markdownlint-cli on tested datasets, primarily due to its implementation in Rust.

What platforms does Mado support?

Mado can be installed on macOS, Linux, and Windows via package managers like Homebrew, Nix, Scoop, and Winget, with pre-built binaries available for download.

Does Mado support all markdownlint rules?

Most rules are supported, with some marked as unstable or unsupported. Support for specific rules can be checked in the documentation.

Can Mado be integrated into automated workflows?

Yes, Mado is compatible with GitHub Actions, allowing integration into CI/CD pipelines for automated markdown linting.

FALL

Fall Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

Google will expand age checks on Android worldwide till the end of the year

Google to implement worldwide age verification on Android devices by the end of 2023, aiming to enhance child safety and digital compliance.

The perils of UUID primary keys in SQLite

Examines performance issues with UUID primary keys in SQLite, highlighting how random UUIDs can cause significant database inefficiencies.

The Apple Studio Display could have been so much more

Despite upgrades, the Apple Studio Display remains limited compared to competitors, with outdated panel tech and minimal adjustability, raising questions about its value.

Privacy advocates slam reCAPTCHA update that they say locks out de-Googled phones

Privacy advocates say Google’s latest reCAPTCHA update blocks access for users with de-Googled Android devices, raising concerns over competition and privacy.