pandoc_path_arg: Transform path for passing to pandoc

Description Usage Arguments Value

View source: R/pandoc.R

Description

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

1

Arguments

path

Path to transform

Value

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


muuankarski/karskidocs documentation built on May 23, 2019, 10:52 a.m.