You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 
 
 

13 line
157 B

  1. #!/bin/zsh
  2. set -e
  3. if [[ -z $1 ]]; then
  4. echo "Usage: build.sh INPUT.md"
  5. exit 1
  6. fi
  7. out=${1:s/.md/.html}
  8. darkslide --linenos=no $1 --destination ${out}