Skip to content
Back to skills

Md To Epub

ASecurity

Convert Markdown to EPUB 3 e-books via Pandoc.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsbashnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 3, 2026

npx -y skills add fabioc-aloha/Alex_Skill_Mall --skill md-to-epub --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Md To Epub?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Md To Epub
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fabioc-aloha-md-to-epub/badge)](https://www.skillsdirectory.com/skills/fabioc-aloha-md-to-epub)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: md-to-epub
description: "Convert Markdown to EPUB 3 e-books via Pandoc."
lastReviewed: 2026-04-30
---

# md-to-epub

Convert Markdown to EPUB 3 e-books via Pandoc.

## When to Use

- Long-form documents distributed as e-books
- Multi-chapter content with embedded images
- Documents needing TOC, cover, and reflowable text

## What's Here

`md-to-epub.cjs` — Node script that wraps Pandoc.

## External Dependencies

- `node` (≥ 16)
- `pandoc` (≥ 3.0) on PATH

## Usage

```bash
node md-to-epub.cjs input.md
node md-to-epub.cjs input.md --output book.epub
node md-to-epub.cjs input.md --cover cover.png
```

## Frontmatter Hooks

```yaml
---
title: My Book
author: Your Name
publisher: Press Name
language: en
cover-image: cover.png
toc: true
---
```

## Notes

- Mermaid diagrams pre-rendered to PNG and embedded
- Each H1 becomes a chapter; H2 subsections
- Validate with epubcheck before distribution

Files in this skill

  • SKILL.md920 B
  • md-to-epub.cjs7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…