Skip to content

MD Book

To install Md book, first we need build-essentials [Only for linux]

sh
sudo apt install build-essential

Install Md Book

sh
cargo install mdbook

To install default theme, so you can modify those files

sh
mdbook init --theme

To start a local server, it will start it on localhost:3000

sh
mdbook serve

To support mermaid

sh
cargo install mdbook-mermaid
mdbook-mermaid install <path-to-your-book>