pandoc_args: Functions for generating pandoc command line arguments
Description
Functions that assist in creating various types of pandoc command line
arguments (e.g. for templates, table of contents, highlighting, and content
includes)
One or more files with content to be included in the
header of the document.
before_body
One or more files with content to be included before
the document body.
after_body
One or more files with content to be included after the
document body.
highlight
The name of a pandoc syntax highlighting theme.
default
The highlighting theme to use if "default"
is specified.
toc
TRUE to include a table of contents in the output.
toc_depth
Depth of headers to include in table of contents.
Value
A character vector with pandoc command line arguments
Details
Non-absolute paths for resources referenced from the
in_header, before_body, and after_body
parameters are resolved relative to the directory of the input document.