# For now, we will do all our tutorial testing in this one script.
tutorial_paths <- tutorial.helpers::return_tutorial_paths(package = "primer.tutorials")
# First, we make sure that all the tutorials can be knitted.
tutorial.helpers::knit_tutorials(tutorial_paths)
# Second, ensure that all the tutorials have the default components: copy-code button,
# information/download pages.
tutorial.helpers::check_tutorial_defaults(tutorial_paths)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.