md2pdf md2pdf is a simple Python tool that converts markdown files to PDF files. Python dependencies markdown, weasyprint md2pdf works with Python 3. Usage md2pdf takes markdown on standard input and spits out PDF on standard output: $ md2pdf < text.md > text.pdf