Debian Codegraph @

man/rmarkdown_format.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/output_format.R, R/util.R
3 \name{rmarkdown_format}
4 \alias{rmarkdown_format}
5 \alias{from_rmarkdown}
6 \title{R Markdown input format definition}
7 \usage{
8 rmarkdown_format(extensions = NULL)
9
10 from_rmarkdown(implicit_figures = TRUE, extensions = NULL)
11 }
12 \arguments{
13 \item{extensions}{Markdown extensions to be added or removed from the
14 default definition of R Markdown.}
15
16 \item{implicit_figures}{Automatically make figures from images (defaults to \code{TRUE}).}
17 }
18 \value{
19 Pandoc markdown format specification
20 }
21 \description{
22 Compose a pandoc markdown input definition for R Markdown
23 that can be passed as the \code{from} argument of \link{pandoc_options}.
24 }
25 \details{
26 By default R Markdown is defined as all pandoc markdown extensions with
27 the following tweaks for backward compatibility with the markdown package
28 (+ features are added, - features are removed):
29
30 \tabular{l}{
31 \code{+autolink_bare_uris} \cr
32 \code{+tex_math_single_backslash} \cr
33 }
34
35 For more on pandoc markdown see the
36 \href{https://pandoc.org/MANUAL.html}{pandoc online documentation}.
37 }
38 \examples{
39 \dontrun{
40 rmarkdown_format("-implicit_figures")
41 }
42 }
43 \seealso{
44 \link{output_format}, \link{pandoc_options}
45 }