View source: R/initialise-deck.r
This function creates a deck directory and initialises an Rmd slidify template for the user to edit.
1 2 3 | initialise_deck(deckdir, title = "", subtitle = "", author = "",
job = "", libs = "", slides = "## First Slide\n\n---\n\n",
open_rmd = TRUE, replace = FALSE)
|
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. |
slides |
Slides to be substituted into the template. |
open_rmd |
Open the index file for edition after it has been created. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.