mdBook vs Jekyll

mdBook and Jekyll are both open source static site generators. mdBook is written in Rust and Jekyll is written in Ruby.

Property mdBook Jekyll
Language Rust Ruby
Templates Handlebars Liquid
License MPL-2.0 MIT

mdBook benefits

Create book or documentation from markdown files as with GitBook.

Highlights:

  • Handlebars templates
  • Math equations through MathJax
  • Can be used as a library
  • Runnable Rust code snippet using Rust Playpen

Used by "The Rust Programming Language" book.

Jekyll benefits

Jekyll is a simple, blog-aware, static site generator perfect for personal, project, or organization sites. Think of it like a file-based CMS, without all the complexity. Jekyll takes your content, renders Markdown and Liquid templates, and spits out a complete, static website ready to be served by Apache, Nginx or another web server. Jekyll is the engine behind GitHub Pages, which you can use to host sites right from your GitHub repositories.

Philosophy

Jekyll does what you tell it to do — no more, no less. It doesn't try to outsmart users by making bold assumptions, nor does it burden them with needless complexity and configuration. Put simply, Jekyll gets out of your way and allows you to concentrate on what truly matters: your content.