pandoc.template.apply
The new function applies a context, containing variable assignments, to a template.