Metadata-Version: 2.3
Name: epub2md
Version: 0.2.0
Summary: Convert EPUB to clean Markdown chapters
Requires-Python: >=3.8
Project-URL: Repository, https://github.com/mefengl/epub2md
Description-Content-Type: text/markdown

# epub2md

Convert EPUB to clean Markdown chapters.

## Install

```bash
pip install epub2md
```

## Usage

```bash
epub2md book.epub          # Creates book/*.md and book/images/
epub2md book.epub output   # Creates output/*.md and output/images/
```

Output:
```
book/
├── 01-chapter-i.md
├── 02-chapter-ii.md
├── ...
└── images/
    └── *.jpeg
```

> Images are git-ignored by default. To commit them: `rm book/images/.gitignore`

## Requirements

- Python 3.8+
- [pandoc](https://pandoc.org/installing.html)

## License

MIT

---

[Discussion on Hacker News](https://news.ycombinator.com/item?id=45951820)
