tldr/pages/common/ebook-convert.md

14 lines
531 B
Markdown
Raw Normal View History

2015-11-21 12:06:10 +00:00
# ebook-convert
> Can be used to convert e-books between common formats, e.g. PDF, EPUB and MOBI.
> Part of the Calibre e-book library tool.
2019-06-08 01:04:00 +01:00
> More information: <https://manual.calibre-ebook.com/generated/en/ebook-convert.html>.
2015-11-21 12:06:10 +00:00
- Convert an e-book into another format:
2015-11-21 12:06:10 +00:00
`ebook-convert {{source}} {{destination}}`
- Convert Markdown or HTML to e-book with TOC, title and author:
`ebook-convert {{source}} {{destination}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}`