12 lines
205 B
Plaintext
Executable File
12 lines
205 B
Plaintext
Executable File
# build a presentation from a markdown file via pandoc and latex beamer
|
|
|
|
if [ -z $1 ]; then
|
|
echo "needs name"
|
|
exit 1
|
|
fi
|
|
|
|
outfile="${1%.md}.pdf"
|
|
|
|
pandoc "$1" -t beamer -o "$outfile"
|
|
xdg-open "$outfile"
|