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 simply using configuration files written in yaml. You can add your own stylesheets, but the most usefull styles can be directly configured with the configuration file (eg the space between paragraphs, the font and the size of the text, etc...).

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.0.0.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: md2book-0.0.0.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for md2book-0.0.0.tar.gz
Algorithm Hash digest
SHA256 552e26ef598cb2d2a72089219598b46ca2f8b837cd142d94f0f53d5fa5482886
MD5 095fca1e9f72e383abb642db95742f35
BLAKE2b-256 ef39f9806a1813d811c98c1285f455bd3843666717f0f52335e924e690d3d6a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: md2book-0.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.4 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for md2book-0.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 dfd38956c1106c74bc9b734e4f0fbd1640d156cb9dc76d67f6c8cb7dd5e24cb6
MD5 2b15f6bd15e7b5065b767212224ee1d8
BLAKE2b-256 3c4d1361414aa493651ecd6d0299a96c4ed2bd70c117fedc8139711a130d732a

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