pandoc_template: Render a pandoc template.

Description Usage Arguments Value

Description

Use the pandoc templating engine to render a text file. Substitutions are done using the metadata list passed to the function.

Usage

1
pandoc_template(metadata, template, output, verbose = FALSE)

Arguments

metadata

A named list containing metadata to pass to template.

template

Path to a pandoc template.

output

Path to save output.

verbose

TRUE to show the pandoc command line which was executed.

Value

(Invisibly) The path of the generated file.


UNFAOstatistics/faodoc documentation built on May 9, 2019, 7:45 p.m.