diff --git a/.config/shell/bin/pandoc-md b/.config/shell/bin/pandoc-md new file mode 100755 index 0000000..e10e733 --- /dev/null +++ b/.config/shell/bin/pandoc-md @@ -0,0 +1,6 @@ +#!/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