pandoc-md: add pandoc-md (simple markdown to html converter)

This commit is contained in:
PowerUser64 2022-02-14 02:21:35 -08:00
parent 25f5bd3133
commit ee9f7a5c23

6
.config/shell/bin/pandoc-md Executable file
View file

@ -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