Metadata-Version: 2.1
Name: markdown2pdf3
Version: 0.1.5
Summary: A tool converts Markdown file to PDF, originally designed for developers' resume release.
Home-page: https://github.com/kxxoling/markdown2pdf
Author: Kane Blueriver
Author-email: kxxoling@gmail.com
License: MIT
Platform: any
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: weasyprint
Requires-Dist: markdown2

Markdown2PDF
============

This is only a fork.

Markdown2pdf is a command-line tool to convert markdown file into pdf,
was originally designed for myself to create resume.

.. image:: https://travis-ci.org/kxxoling/markdown2pdf.svg?branch=master
    :target: https://travis-ci.org/kxxoling/markdown2pdf
    :alt: Building Status

.. image:: https://landscape.io/github/kxxoling/markdown2pdf/master/landscape.svg?style=flat
    :target: https://landscape.io/github/kxxoling/markdown2pdf/master
    :alt: Code Health

.. image:: https://pypip.in/download/markdown2pdf/badge.svg?period=week
    :target: https://pypi.python.org/pypi/markdown2pdf/
    :alt: Downloads


Installation
------------

To install Markdown2PDF you may need to install PDF convertion tool first,

Install Markdown2PDF by pip:

.. code-block:: shell

    pip install markdown2pdf


Usage
-----

You can use Markdown2PDF via simple command ``md2pdf``:

.. code-block:: shell

    md2pdf resume.md

You can also appoint a theme by argument ``--theme``:

.. code-block:: shell

    md2pdf resume.md --theme=github

Or, you can even using your self defined theme:

.. code-block:: shell

    md2pdf resume.md --theme=path_to_style.css

By now, Markdown2PDF contains multi builtin themes:

* github (from GitHub.Inc)

* solarized-dark (from mixu/markdown-styles)

* ghostwriter (from mixu/markdown-styles)


Trouble shooting
----------------

1. ``ffi.h no such file or directory``

.. code-block:: shell

    apt-get install libffi-dev

2. ``OSError: library not found: 'libcairo.so.2'``

This means you need to get some requirements installed first, see this page:
[WeasyPrint fails with error on OSX](https://github.com/Kozea/WeasyPrint/issues/79).


