From 7939805687e75f8a46cd6c43a80e9fb3db88da81 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 7 Mar 2022 21:18:44 +0000 Subject: Add Installing Docker on Arch Linux --- .../markdown/2020-03-30/creating-an-ebook-with-markdown/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/posts/markdown/2020-03-30/creating-an-ebook-with-markdown/index.html') diff --git a/www/posts/markdown/2020-03-30/creating-an-ebook-with-markdown/index.html b/www/posts/markdown/2020-03-30/creating-an-ebook-with-markdown/index.html index 0079384..36dd94e 100644 --- a/www/posts/markdown/2020-03-30/creating-an-ebook-with-markdown/index.html +++ b/www/posts/markdown/2020-03-30/creating-an-ebook-with-markdown/index.html @@ -54,7 +54,7 @@ This is the second paragraph of chapter 2. This is the first paragraph of chapter 3. -This is the second paragraph of chapter 3.

Note that the file begins with a YAML metadata block that starts and ends with three hyphens (---). This allows you to specify EPUB metadata such as the title and author.

Converting this to EPUB is done by running pandoc.

$ pandoc example_ebook.md -t epub3 --toc -o example_ebook.epub

There are several options that need to be passed to pandoc.

You can now copy the file example_ebook.epub to any device that supports the format or use one of the many software readers such as Calibre. However, if you wish to read this on a Kindle device you will need to convert it to the Mobi format.

Amazon provides a command line tool called KindleGen that can convert our EPUB file into the Mobi format. After downloading the tool just run it as shown below.

$ kindlegen example_ebook.epub

This will create a file called example_ebook.mobi that you can copy to your Kindle to read.

Links

Pandoc.Markdown.EPUB.YAML metadata block.EPUB metadata.EPUB v3 book.Calibre Application.Mobi Format.KindleGen Application.Markdown - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. +This is the second paragraph of chapter 3.

Note that the file begins with a YAML metadata block that starts and ends with three hyphens (---). This allows you to specify EPUB metadata such as the title and author.

Converting this to EPUB is done by running pandoc.

$ pandoc example_ebook.md -t epub3 --toc -o example_ebook.epub

There are several options that need to be passed to pandoc.

You can now copy the file example_ebook.epub to any device that supports the format or use one of the many software readers such as Calibre. However, if you wish to read this on a Kindle device you will need to convert it to the Mobi format.

Amazon provides a command line tool called KindleGen that can convert our EPUB file into the Mobi format. After downloading the tool just run it as shown below.

$ kindlegen example_ebook.epub

This will create a file called example_ebook.mobi that you can copy to your Kindle to read.

Links

Pandoc.Markdown.EPUB.YAML metadata block.EPUB metadata.EPUB v3 book.Calibre Application.Mobi Format.KindleGen Application.Markdown - Read More Posts.

I don't have comments as I don't want to manage them. You can however contact me at the below address if you want to.

Email david@davidtsadler.com

License

The contents of this site is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Copyright © 2021 David T. Sadler.

Return to Homepage. -- cgit v1.2.3-13-gbd6f