Debian Codegraph @

man/pandoc_path_arg.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/pandoc.R
3 \name{pandoc_path_arg}
4 \alias{pandoc_path_arg}
5 \title{Transform path for passing to pandoc}
6 \usage{
7 pandoc_path_arg(path, backslash = TRUE)
8 }
9 \arguments{
10 \item{path}{Path to transform}
11
12 \item{backslash}{Whether to replace forward slashes in \code{path} with
13 backslashes on Windows.}
14 }
15 \value{
16 Transformed path that can be passed to pandoc on the command line.
17 }
18 \description{
19 Transform a path for passing to pandoc on the command line. Calls
20 \code{\link[base:path.expand]{path.expand}} on all platforms. On Windows,
21 transform it to a short path name if it contains spaces, and then convert
22 forward slashes to back slashes (as required by pandoc for some path
23 references).
24 }