Skip to content

bencrowder/md2epub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

md2epub

md2epub is a Python script for making EPUB books out of Markdown files. Licensed under the MIT license.

The EPUB-generation code is based on Matt Turner's GetBook.py.

Dependencies

Usage

  1. Install python-markdown2 and smartypants.py.
  2. Create a book file. See sample.book for an example. (It's pretty simple.)
  3. Run md2epub.py myfile.book and voila, instant EPUB.

Notes

  • The book file can be called anything and doesn't have to end in ".book".
  • sample.book has the Markdown files and images in separate subdirectories, but that's optional.
  • sample2.book shows how to do a hierarchical table of contents
  • There are several Dublin Core features I haven't included.

About

Python 2 script that takes a list of Markdown files and generates an EPUB out of them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages