7 lines
143 B
Text
7 lines
143 B
Text
|
#!/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
|