Skip to content
SPECIFICTION
Get listed

mdBook

rust-lang.github.io

Free plan WindowsmacOSLinux

What it is

mdBook is a free command-line tool for creating books from Markdown, including product and API documentation, tutorials, and course materials. It builds static output files in a book directory that can be transferred to a web service. Integrated search and syntax highlighting for code blocks help readers navigate and read examples, while theme files allow formatting changes. Preprocessors can add custom syntax or modify content; backends can render output to multiple formats. The `mdbook test` command tests Rust code samples in a book. Project documentation describes using GitHub Actions or GitLab CI/CD to test and deploy books automatically. Developers can also import mdBook libraries or use its plugin mechanism to build custom tooling and output backends. It runs on Linux, macOS, and Windows, and Markdown is its source input. Building from source requires Rust and Cargo, with Rust 1.88 as the stated minimum. The project directs issues and feature requests to its GitHub issue tracker and relies on community contributions for bug fixes and added features. The free, open-source plan is licensed under MPL-2.0.

Spec sheet

Purpose
mdBook is a command-line tool for creating books from Markdown, including product or API documentation, tutorials, and course materials.Read 3 Oct 2026 · rust-lang.github.io
Audience
The project describes mdBook as ideal for product or API documentation, tutorials, and course materials.Read 3 Oct 2026 · rust-lang.github.io
Platforms
Precompiled executables are available for Windows, macOS, and Linux.Read 3 Oct 2026 · rust-lang.github.io
Deployment
mdBook builds static output files into a `book` directory that can be transferred to a web service.Read 3 Oct 2026 · rust-lang.github.io
Integrations
The documentation describes using GitHub Actions or GitLab CI/CD to test and deploy books automatically.Read 3 Oct 2026 · rust-lang.github.io
Security
The repository links to a security policy.Read 3 Oct 2026 · github.com
Support
The project directs users to its GitHub issue tracker for issues and feature requests and relies on community contributions to fix bugs and add features.Read 3 Oct 2026 · rust-lang.github.io
Code highlighting
mdBook provides color syntax highlighting for code blocks in many languages.Read 3 Oct 2026 · rust-lang.github.io
Code samples
The `mdbook test` command tests Rust code samples in a book.Read 3 Oct 2026 · rust-lang.github.io
Customization
Theme files allow users to customize the formatting of the output.Read 3 Oct 2026 · rust-lang.github.io
Developer use
Developers can import mdBook libraries directly or use its plugin mechanism to create custom tooling and output backends.Read 3 Oct 2026 · rust-lang.github.io
Extensions
Preprocessors can extend custom syntax and modify content, while backends can render output to multiple formats.Read 3 Oct 2026 · rust-lang.github.io
Installation requirement
Building from source requires Rust and Cargo, and mdBook currently requires at least Rust 1.88.Read 3 Oct 2026 · rust-lang.github.io
Search
mdBook includes integrated search support.Read 3 Oct 2026 · rust-lang.github.io

Plans and prices

mdBook Free Free and open source · MPL-2.0 Read 3 Oct 2026 · rust-lang.github.io

Every mdBook plan and price →

Strong points and limits

Strong points

  • Integrated search is included.
  • Themes customize output formatting.
  • Preprocessors and backends extend content and rendering.
  • Tests Rust code samples in books.
  • Runs on Linux, macOS, and Windows.

Limits

  • Building from source requires Rust and Cargo.
  • Source builds require Rust 1.88 or later.
  • Bug fixes rely on community contributions.

Who it suits

mdBook suits developers creating documentation, tutorials, or course materials from Markdown. It also fits teams that want to test and deploy books through GitHub Actions or GitLab CI/CD.

Verdict

mdBook focuses on turning Markdown into static books, with search, code highlighting, and extension points. Check the source-build requirements and community-led support model against your workflow.

Where Specifiction places it

Alternatives to mdBookAll alternatives →