# A book from markdown files written in rust ## Assuming you have rust and cargo installed
The mdbook init
command will create a new directory containing an empty book.
% /Users/thatonedev/.cargo/bin/mdbook init mdbook
### mdbookinit Creates the boilerplate structure and files for a new book build Builds a book from its markdown files test Tests that a book's Rust code samples compile clean Deletes a built book completions Generate shell completions for your shell to stdout watch Watches a book's files and rebuilds it on changes serve Serves a book at http://localhost:3000, and rebuilds it on changes help Print this message or the help of the given subcommand(s)
% /Users/thatonedev/.cargo/bin/mdbook serve --open
In the root of the book is book.toml [book] title = "mdbook" images rendered with the img tag src=./favicon.png Relative: /src/images/favicon.png websites embeded with iframe src=.---. /-o-/-- .-/ / /-> ( * \/ '-. \ \ / '