Markdown to EPUB Converter
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,
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,
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
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.
This skill transforms markdown content into EPUB3 format ebooks that work across all major reading platforms:
⨠Markdown Processing
š EPUB Generation
šÆ Smart Input Handling
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
Install dependencies:
pip install -r markdown-to-epub/requirements.txt
Verify installation:
python test_epub_skill.py
You should see all tests pass:
from markdown_to_epub.scripts.epub_generator import create_epub_from_markdown markdown_content = """ # My Book ## Chapter 1 Content here... """ # Generate EPUB create_epub_from_markdown( markdown_content, output_path="my_book.epub", title="My Book", author="John Doe" )
When registered as a Claude skill, simply ask Claude to convert markdown to EPUB:
"Convert this markdown to an EPUB ebook: # Research Summary ## Introduction ...content..."
Or provide a file path:
"Convert the markdown file at research_notes.md to an EPUB file"
| Element | Example | Support | Styling |
|---|---|---|---|
| Headers | through | Full | Optimized sizes for e-readers |
| Bold | or | Full | Strong emphasis |
| Italic | or | Full | Subtle emphasis |
| Links | | Full | Clickable |
| Lists | or | Full | Proper indentation |
| Code Blocks | | Enhanced | Monospace fonts, styled backgrounds, blue accent |
| Inline Code | | Enhanced | Gray background, subtle border |
| Tables | Markdown tables | Enhanced | Blue headers, zebra striping, responsive |
| Blockquotes | | Full | Blue left border |
| Horizontal Rule | or | Full | Subtle divider |
| Paragraphs | Text with blank lines | Full | Justified text |
Add metadata to your markdown using YAML frontmatter:
--- title: My Ebook author: John Doe language: en date: 2025-01-15 --- # Chapter 1 ...
Supported fields:
title - Book titleauthor - Author namelanguage - Language code (default: en)date - Publication datemarkdown_processor.py)epub_generator.py)Run the comprehensive test suite:
python test_epub_skill.py
Tests include:
Unknown
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
Ā© 2026 Torly.ai. All rights reserved.