Create a video exercise and modify the title slide
The first step to creating slides in the course editor is to create a video exercise. A video exercise begins with a title slide and final slide, which are created for you automatically.
You'll want to start by modifying the title. You should also modify the default instructor name and instructor title. Finally, you should add a script. It's important to note that the script does not appear anywhere on the slide, but will serve as the subtitles for your slide and is what you will use when it is time to record the video.
Add a new slide with code
You can add a new slide to your video using the editor menu. You'll want to add a slide title first and then add some code to the slide. To ensure that the code renders nicely with syntax highlighting, be sure to turn the code into a code chunk and specify the technology, as shown below.
Add an image to the slide
You may want to add an image to the slide to provide an example of the output of the code. First, you'll add your image to the assets tab, then copy a link to the image from the assets tab, go back to the slide, and paste the link in the slide using the markdown syntax for an image.
Add animations to the slide
Once you've created a slide and added some content to it, you may want to add some simple animations to control the order in which items appear. The order that the animation appears depends on the number specified in the two sets of curly braces. In the example shown, we bring the code in first, and then the plot in second. We can also reverse this to bring the code in second, and the plot in first.