Created
November 22, 2021 10:37
-
-
Save imharvol/2da746fa77b607e5b8029d9e5f451db2 to your computer and use it in GitHub Desktop.
Bash command to convert asciidoc files to MOBI files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAME="FILENAME" && \ | |
asciidoctor -b html5 ${NAME}.asciidoc && \ | |
htmldoc -t epub ${NAME}.html -f ${NAME}.epub && \ | |
ebook-convert ${NAME}.epub ${NAME}.mobi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment