Markdown2pdf is python command line tool to convert markdown files to pdf
brew install cairo pango gdk-pixbuf libxml2 libxslt libffi pip install git+https://github.com/lynnco/markdown2pdf.git
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtUse via the command md2pdf
md2pdf resume.mdYou can also appoint a theme by argument --theme
md2pdf resume.md --theme=githubOr, you can even using your self defined theme
md2pdf resume.md --theme=path_to_style.cssContains these default themes
-
github (from GitHub.Inc)
-
solarized-dark (from mixu/markdown-styles)
-
ghostwriter (from mixu/markdown-styles)