Here are some snippets that you can use to automate some tasks in your demo.
Prerequisites
Create a snippets
folder in the .demo
directory of your project. This is where you will store your snippets.
Insert and highlight code
The insert_and_highlight.json
snippet contains a couple of steps to insert code and highlight specific lines after inserting the content.
You can configure the snippet action as follows:
Show slide
The show_slide.json
snippet contains a step to show a slide within Visual Studio Code.
You can configure the snippet action as follows:
Reset view after slide
The [reset_view_after_slide.json
snippet contains the steps to reset the view after showing a slide.
You can configure the snippet action as follows: