File: pandoc_template.Rd

package info (click to toggle)
r-cran-rmarkdown 2.20%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 8,028 kB
  • sloc: javascript: 5,656; sh: 24; makefile: 17
file content (25 lines) | stat: -rw-r--r-- 691 bytes parent folder | download | duplicates (4)
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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pandoc.R
\name{pandoc_template}
\alias{pandoc_template}
\title{Render a pandoc template.}
\usage{
pandoc_template(metadata, template, output, verbose = FALSE)
}
\arguments{
\item{metadata}{A named list containing metadata to pass to template.}

\item{template}{Path to a pandoc template.}

\item{output}{Path to save output.}

\item{verbose}{\code{TRUE} to show the pandoc command line which was
executed.}
}
\value{
(Invisibly) The path of the generated file.
}
\description{
Use the pandoc templating engine to render a text file. Substitutions are
done using the \code{metadata} list passed to the function.
}