| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/pandoc.R |
| 3 |
\name{pandoc_template} |
| 4 |
\alias{pandoc_template} |
| 5 |
\title{Render a pandoc template.} |
| 6 |
\usage{ |
| 7 |
pandoc_template(metadata, template, output, verbose = FALSE) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{metadata}{A named list containing metadata to pass to template.} |
| 11 |
|
| 12 |
\item{template}{Path to a pandoc template.} |
| 13 |
|
| 14 |
\item{output}{Path to save output.} |
| 15 |
|
| 16 |
\item{verbose}{\code{TRUE} to show the pandoc command line which was |
| 17 |
executed.} |
| 18 |
} |
| 19 |
\value{ |
| 20 |
(Invisibly) The path of the generated file. |
| 21 |
} |
| 22 |
\description{ |
| 23 |
Use the pandoc templating engine to render a text file. Substitutions are |
| 24 |
done using the \code{metadata} list passed to the function. |
| 25 |
} |