This function knits a .Rmd file to .html and sends the result to a personal wiki source directory with proper yaml front matter
1 2 |
file |
The .Rmd file to knit |
generate |
'rake generate' the website? Defaults to FALSE. |
format |
How to render the document. See ?rmarkdown::render for options |
subdir |
Location to put file relative to wikidir. Defaults to "inbox" |
wikidir |
Location of wiki library (assuming Wikitten structure) |
... |
passed to rmarkdown::render |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.