mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-06 20:56:57 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
18
tldr/ebook-convert
Normal file
18
tldr/ebook-convert
Normal file
@@ -0,0 +1,18 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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.
|
||||
> More information: <https://manual.calibre-ebook.com/generated/en/ebook-convert.html>.
|
||||
|
||||
- Convert an e-book into another format:
|
||||
|
||||
`ebook-convert {{path/to/input_file}} {{output_file}}`
|
||||
|
||||
- Convert Markdown or HTML to e-book with TOC, title and author:
|
||||
|
||||
`ebook-convert {{path/to/input_file}} {{output_file}} --level1-toc="//h:h1" --level2-toc="//h:h2" --level3-toc="//h:h3" --title={{title}} --authors={{author}}`
|
||||
Reference in New Issue
Block a user