summaryrefslogtreecommitdiffstats
path: root/docs/ebook.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ebook.md')
-rw-r--r--docs/ebook.md11
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).