6 lines
143 B
Bash
Executable file
6 lines
143 B
Bash
Executable file
#!/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
|