Description Usage Arguments Examples
Jump right in to the current swirl lesson without needing to navigate swirl's menus. It's also possible to jump into the middle of a lesson.
1 | demo_lesson(from = NULL, to = NULL)
|
from |
Question number to begin with. Defaults to beginning of lesson. |
to |
Question number to end with. Defaults to end of lesson. |
1 2 3 4 5 6 7 8 9 | ## Not run:
# Demo current lesson from beginning through the end
demo_lesson()
# Demo current lesson from question 5 through the end
demo_lesson(5)
# Demo current lesson from question 8 through question 14
demo_lesson(8, 14)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.