Add template variables for pandoc.
Split commands in several lines.