11 lines
201 B
Bash
11 lines
201 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
file=$1
|
||
|
filename=$(basename -- "$file")
|
||
|
extension="${filename##*.}"
|
||
|
filename="${filename%.*}"
|
||
|
|
||
|
#echo "making $filename.html"
|
||
|
|
||
|
pandoc ../pages/$filename.md -t html > ../dist/$filename.html
|