Install mdbook:
cargo install mdbook
Run any Rust tests in the markdown:
mdbook test
Render markdown as HTML:
mdbook build
Render and view the book:
mdbook build --open