View source: R/deck-to-chunk.r
Convert chunk files to rmd decks.
1 2 | codechunk2deck(chunkfile, deckdir, title = "", subtitle = "", author = "",
job = "", replace = FALSE, ...)
|
chunkfile |
Path to chunk file. |
deckdir |
Directory in which the Rmd template will be created (or in which an index.Rmd file is present) |
title |
Title string to be substituted into the template. |
subtitle |
Subtitle string to be substituted into the template. |
author |
Author name to be substituted into the template. Taken from the DESCRIPTION file if not provided. |
job |
Job or address to be substituted into the template. |
replace |
Replace an existing index.Rmd file |
... |
Further arguments. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.