1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 00:02:07 +02:00
tldr/pages/linux/mdbook.md
2020-12-29 19:45:05 +08:00

24 lines
526 B
Markdown

# mdbook
> Create online books by writing makrdown files.
> More information: <https://rust-lang.github.io/mdBook/>.
- Create a mdbook project in the current directory:
`mdbook init`
- Create a mdbook project in a specific directory:
`mdbook init {{path/to/directory}}`
- Clean the directory with the generated book:
`mdbook clean`
- Serve a book at `http://localhost:3000`, auto build when file changes:
`mdbook serve`
- Watch a set of Markdown files and automatically build when a file is changed:
`mdbook watch`