smerchek

Markdown 转 EPUB 转换器 — Documentation skill for Claude Code

Documentation community intermediate

将 Markdown 文档和聊天摘要转换为专业的 EPUB 电子书文件.

How to install Markdown 转 EPUB 转换器

This entry records only its repository, not the path inside it, so there is no exact command to give. Open smerchek/claude-epub-skill and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Markdown 转 EPUB 转换器 does

将 Markdown 文档和聊天摘要转换为专业的 EPUB 电子书文件。*作者:[@smerchek](https://github.com/smerchek)*

One of 3 entries listed from smerchek/claude-epub-skill. The repository README describes the whole collection, not this skill — read it on GitHub.

Alternatives in Documentation

  • 会话管理(Session Manager)需求文档(PRD / Markdown) — 目标:对 Codex / Claude Code 的本地会话记录进行可视化管理,并提供“一键复制 / 一键终端恢复”能力 31.7k ★
  • Repo Recap — Generate a structured recap of the repository state: open PRs, open issues, recent releases, and executive sum 11.9k ★
  • Ars Format Convert — ARS academic-paper format-convert mode — convert to LaTeX / DOCX / PDF / Markdown 4.5k ★

Repository README

This is the README for smerchek/claude-epub-skill, shared by 3 entries in this directory. It describes the repository, not this entry specifically.

Markdown to EPUB Claude Skill

A Claude agent skill that converts markdown documents and chat summaries into professional EPUB ebook files. Perfect for creating portable, device-agnostic ebooks from research documents, blog posts, articles, or conversation summaries.

Overview

This skill transforms markdown content into EPUB3 format ebooks that work across all major reading platforms:

  • Apple Books
  • Amazon Kindle (via Kindle reading apps)
  • Google Play Books
  • Kobo
  • Any standard EPUB reader

Features

✨ **Markdown Processing**

  • Automatic chapter detection from H1 headers
  • Automatic section parsing from H2-H6 headers
  • Full markdown formatting support (bold, italic, links, lists, code blocks, etc.)
  • Enhanced code blocks with premium monospace fonts and syntax highlighting support
  • Professional tables with styled headers and alternating row colors

📚 **EPUB Generation**

  • EPUB3 standard compliance
  • Automatic table of contents with proper navigation
  • Responsive, device-agnostic styling
  • Proper document structure and metadata
  • Beautiful code formatting for technical documents

🎯 **Smart Input Handling**

  • Accept raw markdown text directly
  • Process markdown files by path
  • Extract metadata from YAML frontmatter
  • Handle edge cases gracefully

Project Structure

markdown-to-epub/
├── SKILL.md                    # Skill definition with YAML frontmatter
├── requirements.txt            # Python dependencies
├── scripts/
│   ├── markdown_processor.py  # Markdown parsing & structure extraction
│   ├── epub_generator.py      # EPUB file creation & formatting
└── resources/
    └── default_styles.css     # (future) Custom EPUB styling
test_epub_skill.py             # Test suite with sample content

Installation

Prerequisites

  • Python 3.8+
  • pip (Python package manager)

Setup

  1. **Install dependencies:**

    pip install -r markdown-to-epub/requirements.txt
  2. **Verify installation:**

...