pandoc_path_arg

0th

Percentile

Transform path for passing to pandoc

Transform a path for passing to pandoc on the command line. Calls path.expand on all platforms. On Windows, transform it to a short path name if it contains spaces, and then convert forward slashes to back slashes (as required by pandoc for some path references).

Usage
pandoc_path_arg(path, backslash = TRUE)
Arguments
path

Path to transform

backslash

Whether to replace forward slashes in path with backslashes on Windows.

Value

Transformed path that can be passed to pandoc on the command line.

Aliases
  • pandoc_path_arg
Documentation reproduced from package rmarkdown, version 1.12, License: GPL-3

Community examples

Looks like there are no examples yet.