diff --git a/sessions/build.sh b/sessions/build.sh new file mode 100755 index 0000000..c1f13e4 --- /dev/null +++ b/sessions/build.sh @@ -0,0 +1,12 @@ +#!/bin/zsh + +set -e + +if [[ -z $1 ]]; then + echo "Usage: build.sh INPUT.md" + exit 1 +fi + + +out=${1:s/.md/.html} +darkslide --linenos=no $1 --destination ${out}