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.
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
ffi.h no such file or directory
apt-get install libffi-dev
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
Built Distribution
Hashes for markdown2pdf3-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3636cd7379e9cb12009b338cd4adde1077e956b27144d88c1e141f873f8321d0 |
|
MD5 | b04d307453d0a45d8e04d5c3ac9bcc8a |
|
BLAKE2b-256 | 1d3852535aa8001bfe445bc99de3e6a97ea9a5ab0f6cded074ee0c3dcfc81558 |