Static Site Generators

mdBook – create online books from Markdown files

mdBook is a command-line application for creating online books, tutorials and technical manuals from Markdown documents. Written in Rust, it is particularly popular for programming documentation and other material organised into chapters.

An mdBook project consists of Markdown files and a summary defining the book’s structure. The application converts these files into a navigable publication, complete with a contents sidebar, page navigation and facilities for finding information across the book.

The software is designed to keep the authoring process straightforward. Writers can concentrate on individual chapters rather than manually building navigation and formatting. Although its primary output is a website, mdBook also has an extensible processing architecture that accommodates alternative output formats and additional document transformations.

This is free and open source software.

Key Features

  • Creates structured books from individual Markdown chapters.
  • Uses a summary file to define chapters, subchapters and navigation order.
  • Includes full-text search across the generated book.
  • Provides automatic previous and next chapter navigation.
  • Syntax highlighting supports code examples in numerous programming languages.
  • Built-in themes provide alternative visual presentations, including light and dark styles.
  • MathJax support enables mathematical equations within chapters.
  • Rust code examples can be tested automatically to detect broken examples.
  • Preprocessor extensions can modify or augment the Markdown before rendering.
  • Custom renderers provide alternative output formats and presentation methods.
  • Handlebars templates allow extensive customisation of the generated HTML.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/rust-lang/mdBook
Support:
Developer: mdBook contributors
License: Mozilla Public License v2.0

mdBook is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Rust Static Site Generators
ZolaFast static site generator in a single binary with everything built-in. Uses Tera
mdBookCommand line tool and Rust crate to create books using Markdown
ZensicalModern static site generator
MarmiteStatic site generator for blogs
CobaltVersatile yet simple to use static site generator
TypsiteProcesses Typst source files and generates complete static websites
KodamaDesigned for creating interconnected Zettelkasten-style note collections
DodecaFully incremental static site generator
AdduceVersatile, adaptable, and fast static site generato

Read our verdict in the software roundup.

Documentation Generators
JSDocAPI documentation generator for JavaScript
JavadocGenerate API documentation in HTML format
SphinxCreate intelligent and beautiful documentation for Python projects
phpDocumentorComplete documentation solution for PHP
DoxygenDocumentation system for C, C++, Java, Python and other languages
DocusaurusBuild, deploy and maintain documentation websites
mdBookCreate modern online books from Markdown files
YARDRuby documentation tool
StarlightDocumentation website framework
DoccoLiterate-programming-style documentation generator
Natural DocsDocumentation generator that supports 21 different languages
QuartoScientific and technical publishing system
AntoraModular documentation site generator
CryccoQuick and dirty documentation generator
ROBODocDocumentation tool similar to Javadoc

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted