knitpost: Prepare a markdown post for jekyll.

Description Usage Arguments Examples

View source: R/knitpost.r

Description

Modified very slightly from http://jfisher-usgs.github.com/r/2012/07/03/knitr-jekyll/.

Usage

1
2
knitpost(input, output = "~/github/sac/sckott.github.com/_posts/",
  base.url = "/")

Arguments

input

The url for the markdown file, including the file name with .markdown or .mdown extension.

base.url

Leave as default.

Examples

1
2
3
4
5
## Not run: 
setwd("/Users/ScottMac/github/SChamberlain/schamberlain.github.com/_posts")
knitpost("/Users/ScottMac/github/SChamberlain/schamberlain.github.com/_drafts/2012-07-20-global-names-resolver.Rmd")

## End(Not run)

sckott/sacbox documentation built on May 26, 2017, 3:47 a.m.