Browse Source

Add build script

master
Dimitri Merejkowsky 6 years ago
parent
commit
ad2a73c988
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      sessions/build.sh

+ 12
- 0
sessions/build.sh View File

@@ -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}