Skip to main content

A tool converts Markdown file to PDF, originally designed for developers' resume release.

Project description

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.

Building Status Code Health Downloads

Installation

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

Install Markdown2PDF by pip:

pip install markdown2pdf

Usage

You can use Markdown2PDF via simple command md2pdf:

md2pdf resume.md

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

md2pdf resume.md --theme=github

Or, you can even using your self defined theme:

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

apt-get install libffi-dev
  1. 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).

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

markdown2pdf3-0.1.5.tar.gz (10.7 kB view hashes)

Uploaded Source

Built Distribution

markdown2pdf3-0.1.5-py3-none-any.whl (11.1 kB view hashes)

Uploaded Python 3

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