Skip to content
smerchek avatar

Markdown To Epub Converter

Converts markdown documents and chat summaries into formatted EPUB3 ebooks readable on Kindle, Apple Books, and Kobo.

CCM score
30 of 100
skills.sh installs
732
GitHub stars
173
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers markdown input as raw text or a file path, with H1 headers as chapter breaks and H2 headers as sections
  • Generates an automatic table of contents, EPUB3 navigation document, and title, language, author, and date metadata
  • Supports headers, bold, italic, links, nested lists, code blocks, tables, blockquotes, and horizontal rules
  • Ships epub_generator.py and markdown_processor.py; cover pages, .mobi output, and image embedding are listed as future work

Install

$ npx -y skills add smerchek/claude-epub-skill --skill markdown-to-epub-converter -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Markdown to EPUB Converter Skill

This skill transforms markdown documents into professional EPUB ebook files. Perfect for converting research documents, blog posts, articles, or chat conversation summaries into portable, device-agnostic ebook formats.

Overview

The skill accepts markdown content in multiple formats and generates a properly formatted EPUB3 file that works across all major ebook readers including:

  • Apple Books
  • Amazon Kindle (via Kindle for Mac/Windows/iOS/Android)
  • Google Play Books
  • Kobo and other EPUB readers
  • Any standard EPUB reader

Input Formats

Option 1: Raw Markdown Text

Provide markdown content directly in your message:

Convert this markdown to EPUB:
# My Book Title
## Chapter 1
This is chapter one content...

Option 2: File Path

Provide a path to a markdown file to be converted.

How It Works

  1. Markdown Parsing: Analyzes your markdown and automatically:
    • Treats H1 headers (#) as chapter boundaries
    • Treats H2 headers (##) as section headings within chapters
    • Preserves formatting (bold, italic, links, lists, code blocks)

Details

Repository
github.com/smerchek/claude-epub-skill
Categories
Office Files & Slides, Writing & Content
First seen
Jun 3, 2026

Questions

What does the markdown-to-epub-converter skill do?

It converts markdown documents and chat summaries into formatted EPUB3 ebook files that work in readers such as Apple Books, Kindle apps, Google Play Books and Kobo. H1 headers become chapter boundaries and H2 headers become section headings in the generated table of contents.

How do I install the markdown-to-epub-converter skill?

Run npx -y skills add smerchek/claude-epub-skill --skill markdown-to-epub-converter -y in a project. This lets your agent convert raw markdown text or a markdown file path into an EPUB file for download.

Which skills lead the Office Files & Slides category, and where does this skill stand?

This skill is listed in Office Files & Slides alongside slideshow, lark-doc, lark-drive, lark-sheets and lark-whiteboard. It is the skill to reach for when the output you need is an ebook rather than a slide deck or document.

What does this skill need to run?

The README lists Python 3.8 or newer and pip, and installs the ebooklib and markdown2 packages from requirements.txt. You also need a markdown source, either pasted into the chat or saved as a file.

Similar to Markdown To Epub Converter

More Office Files & Slides