Python .MD 2 .PDF

Subscribe to my newsletter and never miss my upcoming articles

For this we need a module called mdpdf to install this simply open Terminal and run this command

pip install mdpdf

Imagine you have a Directory structure like this

- Folder
    - your_md_file.md

Open the terminal in which your .md file is present and then run this command

mdpdf -o output.pdf your_md_file.md

After running this command your directory should look like this

- Folder
    - your_md_file.md
    - output.pdf
    - mdpdf.log

If there are any errors you can check the mdpdf.log file for possible errors

Subscribe to my YouTube Channel - youtube.com/channel/UCsYVtF7KLPiAanWgwGPYvpA

No Comments Yet