2015-11-21 12:06:10 +00:00
|
|
|
# ebook-convert
|
|
|
|
|
2021-08-15 18:59:09 +01:00
|
|
|
> Can be used to convert e-books between common formats, e.g. PDF, EPUB and MOBI.
|
2021-05-20 21:13:41 +01:00
|
|
|
> 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
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Convert an e-book into another format:
|
2015-11-21 12:06:10 +00:00
|
|
|
|
2022-10-10 14:48:43 +01:00
|
|
|
`ebook-convert {{path/to/input_file}} {{output_file}}`
|
2020-02-07 19:16:23 +00:00
|
|
|
|
2021-05-20 21:13:41 +01:00
|
|
|
- Convert Markdown or HTML to e-book with TOC, title and author:
|
2020-02-07 19:16:23 +00:00
|
|
|
|
2022-10-10 14:48:43 +01:00
|
|
|
`ebook-convert {{path/to/input_file}} {{output_file}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}`
|