FormatPost: Format an R Markdown post for a Jekyll blog

Description Usage Arguments Value See Also

Description

Format an R Markdown Pretty Document (package prettydoc) post for a Jekyll blog and place the resulting Markdown post in directory '_posts'.

Usage

1
2
3
FormatPost(rmd, knitr.files.dir = "knitr_files",
  date.format = "%B %d, %Y", date.locale = readr::locale(tz =
  "US/Central"))

Arguments

rmd

The name (path) to specific Rmd file to convert.

knitr.files.dir

The permanent directory where the files like plots are placed.

date.format

Format of the date used in the YAML header. Default corresponds for example to "August 15, 2016".

date.locale

A locale object, defining the defaults of a country.

Value

The name (path) of the new Markdown post.

See Also

readr::parse_date


privefl/prettyjekyll documentation built on May 26, 2019, 8:32 a.m.