dotfiles/.config/shell/bin/pandoc-md

7 lines
143 B
Text
Raw Normal View History

#!/bin/bash
if [ -f "$1.md" ]; then
pandoc -s "$1.md" -o "$1.html"
else
echo "Please specify a file name (without the .md extension)"
fi