You can add code-snippets during your training event. This allows you to show students how to solve a certain problem, or provide them with a solution when required.
To share a code snippet with the class, first go to the code-snippets section, and then use the Create new button at the top. You to add any amount of code-snippets required for your training event.
Choosing the language, will apply code highlighting and formatting automatically for that specific language.
You can name your code snippets by clicking their name at the top left side of the code snippet. You can delete a snippet or change its language by using the context buttons on the top right of each snippet.
As with the presentation and whiteboard, students following you will only be able to see code snippets as you add, they will not be able to modify or remove them.
Note: While we know that instructors may want to keep a set of code snippets in their class template, currently, snippets only exist in the context of that specific event, so make sure to keep them safe in case you need them again.