vtardia/md2epub

This package is abandoned and no longer maintained. No replacement package was suggested.

Markdown to ePub converter

dev-master 2018-02-06 14:21 UTC

This package is auto-updated.

Last update: 2022-01-23 20:54:44 UTC


README

md2epub is a PHP script that converts a directory of markdown documents (*.md) and other resources to an electronic book compatible with the ePub 2.0.1 standard.

The instruction to compile the ebook must be entered in the book.json file.

The Markdown parser library is Michel Fortin's PHP Markdown Extra.

The template parser library is RainTPL.

More info on PHPMaster's article Building ePub with PHP and Markdown.

Installation

Copy the application directory in a shared path (eg /usr/local) and create a link to bin/md2epub.

Usage

From the command line type:

md2epub /source/ebook/directory/ /dest/book.epub

Contributors