docs/tutorial/compile.sh
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 12 Oct 2018 14:33:03 +0200
changeset 4160 44133463372f
parent 3376 aad37ffd7d58
child 5226 38d225efcea9
permissions -rwxr-xr-x
next: also use stack shortcut in output when possible This mirror what `hg evolve` is doing since cc3a0b13ae57.

#!/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