Python  .MD 2 .PDF

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

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

mdpdf -o output.pdf

After running this command your directory should look like this

- Folder
    - output.pdf
    - mdpdf.log

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

Subscribe to my YouTube Channel -

Share this