forked from rstudio/rmarkdown
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpandoc_options.Rd
39 lines (34 loc) · 1.19 KB
/
pandoc_options.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
% Generated by roxygen2 (4.0.2): do not edit by hand
\name{pandoc_options}
\alias{pandoc_options}
\title{Pandoc options for an output format}
\usage{
pandoc_options(to, from = rmarkdown_format(), args = NULL,
keep_tex = FALSE, ext = NULL)
}
\arguments{
\item{to}{Pandoc format to convert to}
\item{from}{Pandoc format to convert from}
\item{args}{Character vector of command line arguments to pass to pandoc}
\item{keep_tex}{Keep the intermediate tex file used in the conversion to PDF
(applies only to 'latex' and 'beamer' target formats)}
\item{ext}{File extension (e.g. ".tex") for output file (if \code{NULL}
chooses default based on \code{to}). This is typically used to force
the final output of a latex or beamer converstion to be \code{.tex}
rather than \code{.pdf}.}
}
\value{
An list that can be passed as the \code{pandoc} argument of the
\code{\link{output_format}} function.
}
\description{
Define the pandoc options for an R Markdown output format.
}
\details{
The \code{from} argument should be used very cautiously as it's
important for users to be able to rely on a stable definition of supported
markdown extensions.
}
\seealso{
\link{output_format}, \link{rmarkdown_format}
}