Skip to content

Instantly share code, notes, and snippets.

View heyimblake's full-sized avatar
Need more coffee.

Blake Khan heyimblake

Need more coffee.
View GitHub Profile
@heyimblake
heyimblake / md_to_pdf.sh
Last active August 15, 2019 05:59 — forked from hugorodgerbrown/md_to_rst.sh
Bash script for converting a batch of *.md files into *.pdf using LaTeX and pandoc.
#!/bin/bash
# This script was created to convert a directory full
# of markdown files into PDF files. It uses
# pandoc and LaTeX to do the conversion.
#
# 1. Install pandoc from https://pandoc.org/
# 2. Install LaTeX from https://www.latex-project.org/
# 3. Copy this script into the directory containing the .md files
# 4. Ensure that the script has execute permissions
# 5. Run the script