dotfiles/bin/.bin/md2pdf
Anthony Debucquoy 9eede5ef5f
First Commit
This is a first dotfiles config. I think I have a lot more to add tho...
2023-10-24 23:29:07 +02:00

6 lines
126 B
Bash
Executable File

#!/bin/sh
MDFILE="$1"
[ -r $MDFILE -a -f $MDFILE ] && pandoc $MDFILE -t html -o ${MDFILE[@]/%md/pdf} || echo "what a freak"