docs/tutorial/compile.sh
author Anton Shestakov <av6@dwimlabs.net>
Thu, 30 Aug 2018 20:21:17 +0800
changeset 4060 54eade86ac31
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
topic: handle revsets passed to topic() revset This handles cases when the argument can't be interpreted as a string at all.

#!/bin/bash
set -eox pipefail


function compile {
    pandoc \
    -s $1 \
    -o $2 \
    --toc --toc-depth=4 \
    -F pandocfilters/examples/graphviz.py -F mypandocfilters/graphviz-file.py -F mypandocfilters/raw-file.py \
    -t html5 \
    --template standalone.html --variable=template_css:uikit.css

}

compile slides.md index.html