learnr | R Documentation |
Insert Markdown text to link to a learnr tutorial.
learnr(
id,
title = NULL,
package,
toc = "",
text = "Now let's make the exercises in the following tutorial:",
toc.def = "Tutorial {id}",
rstudio.url = "start_rstudio.html",
tuto.img = "images/list-tuto.png",
tuto.link = "tutorial"
)
id |
Identifier of the learnr tutorial (as |
title |
The title of the tutorial ( |
package |
Package where the learnr tutorial is defined. |
toc |
Entry to use in the exercises table of content ( |
text |
The text to display in the learnr block. |
toc.def |
Text for a default toc entry using |
rstudio.url |
The URL to open a page in RStudio server in the SciViews box. |
tuto.img |
The image to display in front of the toc entry |
tuto.link |
The link when the image is clicked (sends to an help page about learnr tutorials). |
The Markdown chunk to insert a learnr tutorial block in the document.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.