Ebook

Markdown to PDF for an ebook

An ebook PDF is a book without a printer. The structure is the same - the constraints are different. No paper to lose, no spine to bind, but every reader is a different screen.

·2 min read
Open the converter

Page size for ebooks

  • A4 - fine on tablets, awkward on phones.
  • A5 (148×210mm) - closer to a real book; better on phones.
  • US Letter - wider; if your audience is North American.
  • Custom 6×9in - book-trim size, common for self-published books.

Font pairings that read well at length

  • inter-plexserif - sans heading, serif body. Best for long-form non-fiction.
  • plex-serif-sans - serif throughout. Best for narrative.
  • hanken-faculty - display serif on titles, sans body. Magazine register.

Cover and chapter structure

Cover page on, with the centred or block layout. ToC on, numbered headings on. Each chapter is an H1 section. The converter handles chapter pagination automatically - H1s land on a new page when there isn't enough room for a full opening paragraph beneath them.

FAQ

Can I export to EPUB?

No. EPUB is a different format with different rules (reflowable layout, embedded CSS). The converter is PDF + DOCX only. For EPUB, use Pandoc.

How do I add a back-cover?

Currently the cover page is the front cover only. For a back-cover, render a one-page PDF separately and append it after the export.

What about images at full bleed?

Not supported in v1. Images render within the body margins. Full-bleed cover images are on the roadmap.

Related

https://md2document.com/markdown-to-pdf-for-ebook/