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