Templates for pandoc (see tlvince branch)