From 5bc64c80e1c9f16e581a6aec1b637e4d81e8bd28 Mon Sep 17 00:00:00 2001 From: thawk Date: Sat, 8 Feb 2020 03:16:23 +0800 Subject: [PATCH] ebook-convert: add TOC example (#3843) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Zlatan Vasović --- pages/common/ebook-convert.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pages/common/ebook-convert.md b/pages/common/ebook-convert.md index 26ba19de9e..7e0900f96d 100644 --- a/pages/common/ebook-convert.md +++ b/pages/common/ebook-convert.md @@ -7,3 +7,7 @@ - Convert an ebook into another format: `ebook-convert {{source}} {{destination}}` + +- Convert Markdown or HTML to ebook 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}}`