# mdBook

> Create books from Markdown files

Source: https://talira.ai/catalog/mdbook-8vc6t6nk
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool
- Categories: [developer tools / documentation / docs sites](https://talira.ai/categories/developer-tools/documentation/docs-sites), [languages / rust](https://talira.ai/categories/languages/rust)
- Platforms: windows, macos, linux[^4]
- Licence: MPL-2.0[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^4]
- Plugins: yes[^2]
- Backed by: [The Rust Project](https://talira.ai/orgs/rust-project.md)

mdBook is a command-line tool from the Rust project that turns a folder of Markdown files into a book: a static website with a chapter sidebar, search, syntax-highlighted code and themes, suited to product and API documentation, tutorials and course material. Preprocessors add custom syntax and change content, alternative backends render other formats, and it can test the Rust code samples in a book. It's what The Rust Programming Language book and much of Rust's own documentation are built with. MPL-2.0 licensed.

## Links

- Website: https://rust-lang.github.io/mdBook/
- GitHub: https://github.com/rust-lang/mdBook
- Docs: https://rust-lang.github.io/mdBook/

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/mdbook>[^1]

## Problems it solves

- turn a folder of Markdown files into a searchable documentation website
- write a technical book or course in Markdown and publish it as a static site
- a GitBook-like docs site I can build offline from my repo with one binary
- test the Rust code examples in my documentation so they don't go stale
- extend my Markdown docs with custom syntax through a plugin
- publish project documentation from CI without a Node.js toolchain

## Features

- builds a static book website from Markdown
- chapter navigation and built-in search
- syntax highlighting for many languages
- customisable themes
- preprocessors for custom syntax and content changes
- pluggable backends for other output formats
- tests Rust code samples
- single binary for Windows, macOS and Linux

## Capabilities

- Has a command line tool: plan not known
- Takes plugins: plan not known

## Trust

Overall: 0.46 out of 1.
Signals: backing 0.50, extensibility 0.40.

- backed by The Rust Project
- used by The Rust Project
- has a plugin system

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [GitBook](https://talira.ai/catalog/gitbook-tj77c96x.md): GitBook keeps docs accurate, for both people and AI
- [MkDocs](https://talira.ai/catalog/mkdocs-nrq06q7r.md): Project documentation with Markdown.
- [Docusaurus](https://talira.ai/catalog/docusaurus-6t7t91cj.md): Easy to maintain open source documentation websites.
- [docsify](https://talira.ai/catalog/docsify-vs1dfqvj.md): A magical documentation site generator: Markdown files become a website with no build step
- [Quarto](https://talira.ai/catalog/quarto-9dgvwwyj.md): An open-source scientific and technical publishing system
- [VitePress](https://talira.ai/catalog/vitepress-f3h8kb6y.md): Vite & Vue powered static site generator

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 22 Nov 2026)
[^2]: https://rust-lang.github.io/mdBook/ (checked 22 Nov 2026)
[^3]: https://github.com/rust-lang/mdBook/blob/main/LICENSE (checked 22 Nov 2026)
[^4]: https://rust-lang.github.io/mdBook/guide/installation.html (checked 22 Nov 2026)
