This script converts all markdown files (except README.md
) in the current directory and its subdirectories to PDF format and saves them in a PDF
directory. Follow these steps to use the script:
Before using the script, make sure you have the required packages installed by running:
sudo apt install pandoc texlive texlive-latex-extra
Clone the repository from GitHub:
git clone https://github.com/skvggor/markdown-to-pdf
- Navigate to the cloned repository:
cd markdown-to-pdf
- Run the script using the following command:
bash markdown-to-pdf.sh