mdBook and VuePress are both open source static site generators. mdBook is written in Rust and VuePress is written in JavaScript.
Property | mdBook | VuePress |
---|---|---|
Language | Rust | JavaScript |
Templates | Handlebars | Vue |
License | MPL-2.0 | MIT |
Create book or documentation from markdown files as with GitBook.
Highlights:
Used by "The Rust Programming Language" book.
Minimal setup with markdown-centered project structure helps you focus on writing.
Enjoy the dev experience of Vue + webpack, use Vue components in markdown, and develop custom themes with Vue.
VuePress generates pre-rendered static HTML for each page, and runs as an SPA once a page is loaded.
# install
npm install -g vuepress
# create a markdown file
echo "# Hello VuePress" > README.md
# start writing
vuepress dev
# build to static files
vuepress build