pandoc(input, format, config = getOption("config.pandoc"), ext = NA, 
    encoding = getOption("encoding"))t
field in the configuration (if the configuration is empty or the t
field is not found, the default outputinput file and an extension
.pandoc (e.g. for format, e.g. latex creates pdf, and
dzslides creates html, and so onfileThe configuration file is a DCF file (see read.dcf). This file
must contain a field named t which means the output format. The
configurations are written in the form of tag:value and passed to
Pandoc (if no value is needed, just leave it empty, e.g. the option
standalone or s for short). If there are multiple output
formats, write each format and relevant configurations in a block, and
separate blocks with blank lines.
If there are multiple records of the t field in the configuration, the
input markdown file will be converted to all these formats by default, unless
the format argument is specified as one single format.
read.dcfsystem("pandoc -h")  # see possible output formatsRun the code above in your browser using DataLab