diff options
Diffstat (limited to 'docs/ebook.md')
-rw-r--r-- | docs/ebook.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/ebook.md b/docs/ebook.md index 58a0d9b..6230488 100644 --- a/docs/ebook.md +++ b/docs/ebook.md @@ -2,6 +2,17 @@ GitBook can generates a website, but can also output content as ebook (ePub, Mobi, PDF). +``` +# Generate a PDF file +$ gitbook pdf ./ ./mybook.pdf + +# Generate an ePub file +$ gitbook epub ./ ./mybook.epub + +# Generate a Mobi file +$ gitbook mobi ./ ./mybook.mobi +``` + ### Installing ebook-convert `ebook-convert` is required to generate ebooks (epub, mobi, pdf). |