tldr/pages/linux/mdbook.md

528 B

mdbook

Create online books by writing Markdown files. More information: https://rust-lang.github.io/mdBook/.

  • Create an mdbook project in the current directory:

mdbook init

  • Create an mdbook project in a specific directory:

mdbook init {{path/to/directory}}

  • Clean the directory with the generated book:

mdbook clean

mdbook serve

  • Watch a set of Markdown files and automatically build when a file is changed:

mdbook watch