May 31, 2022

Convert an HTML file into an EPUB file with Pandoc

Run:

$ pandoc -f html -t epub3 -o output.epub input.html

You can add metadata for EPUB:

$ pandoc -f html -t epub3 --epub-metadata=metadata.xml -o output.epub input.html

If you need to install Pandoc on Trisquel GNU/Linux run:

$ sudo apt install pandoc

command-line interface (cli) personal computing pandoc epub gnu linux trisquel

No affiliates, No (Google) Analytics. © 2016-2023 yctct.com. Content is licensed under CC BY-NC-SA 4.0 .