mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 20:50:26 +00:00
Update cheatsheets
This commit is contained in:
29
linux/mdbook
Normal file
29
linux/mdbook
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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`
|
||||
|
||||
- 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`
|
||||
Reference in New Issue
Block a user