md to pdf - MarekBykowski/readme GitHub Wiki

Install

pip3 install gh-md-to-html[pdf_export]

Run

gh-md-to-html yourfile.md -p \<name\>.pdf 

The -p option declares under which file name to save the resulting pdf file; the "<name>" is automatically replaced with the name of your input file.

Run with internal links

Install https://dev.to/afiqiqmal/how-to-install-wkhtmltopdf-with-patched-qt-on-ubuntu-and-centos-8-4j12

sudo wkhtmltopdf  --disable-smart-shrinking  --lowquality --enable-external-links --enable-internal-links --load-error-handling ignore <md file> <pdf file>
⚠️ **GitHub.com Fallback** ⚠️