Skip to main content

Convert markdown files to beautiful books using a simple configuration file

Project description

Md2book

Md2book converts books written with markdown within multiple files into a single, standalone file, and allows exporting to pdf, ebook (epub), docx, odt, markdown or text. This projects makes it easy by using simple configuration files written in yaml. It supports markdown syntax, LaTeX equations, themes, css, fonts, and settings to easily configure the style.

Because an example is better than words, here is a document generated using md2book.

About md2book

Md2book is designed to be used by users that are comfortable with the command line interface and want a simple, free and fully customizale tool to manage theirs writings. If you want a more easy-to-use tool, with a GUI, check out scrivener (paying) or free online alternatives. If you want to use md2book, you will only need a markdown editor, like typora.

Why md2book instead of pandoc ?

Md2book uses pandoc, wkhtmltopdf and some python packages to generate documents. But I spent time optimizing the result to have better-looking documents. For example, python-docx is used to improve docx files generated by pandoc (but do not correct all pandoc issues). Md2book comes with predefined themes and fonts, and makes it easy to compile a document using styles, themes, fonts, to any target format. It has a template system, and read all you need to configure from a single file.

Start using md2book

All the instructions are available on the wiki.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

md2book-0.1.3.tar.gz (4.3 MB view details)

Uploaded Source

Built Distribution

md2book-0.1.3-py2.py3-none-any.whl (4.4 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file md2book-0.1.3.tar.gz.

File metadata

  • Download URL: md2book-0.1.3.tar.gz
  • Upload date:
  • Size: 4.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for md2book-0.1.3.tar.gz
Algorithm Hash digest
SHA256 71f7de506f2c20be01128c77d0758da4af00f38b97f8ad703465681268da62b6
MD5 a36808b35acc13ef56b60c3912a2ccc8
BLAKE2b-256 d77e7c9b6e28856dbe25470985ee410a8f3e50d97fc2dcc0fc382d8e37afe341

See more details on using hashes here.

File details

Details for the file md2book-0.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: md2book-0.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.7

File hashes

Hashes for md2book-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 be7747ff8c1ccf66241a6ff5f8b1ed5cae26fd59cfce35963b7f26662055cc8b
MD5 751aa8fa0df90f581be4587f18988201
BLAKE2b-256 9c7909ee4217d8df2950cc929b6418174c87adff77ff6b589cb156bd27e973ec

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page