Present your slides
Demo Time is more than just a tool for live demos—it also lets you present slides seamlessly within your editor. With Markdown-based slides, you can deliver presentations without switching between different applications, ensuring a smooth transition between your slides and demos.

Creating slides
To create slides, start by creating a new Markdown file and adding your content:
------
# Title
Hello, **Demo Time**!
Layouts
Demo Time supports various slide layouts, with the layout
property, to help structure your presentation effectively:
default
- A standard slide layoutintro
- Ideal for opening slidesquote
- Perfect for displaying key takeaways or citations- … (more layouts available)
Customizing Slides with Themes
Personalization matters! Demo Time allows you to customize the look and feel of your slides by selecting a built-in theme or creating your own.
To change your slide theme, you can specify a different theme in the slide configuration with the theme
property or provide a custom CSS file in the demo JSON file.
Demo Time has the following built-in themes:
default
minimal
monomi
unnamed
Presenting slides
To incorporate slides into your demo workflow, add them as demo steps in your demo script or configuration files. This ensures you can control when and where your slides appear during the presentation.
Use the openSlide
action to open a slide in the slide view.
{ "action": "openSlide", "path": "<relative path to the file>", "theme": "<relative path to CSS file>"}
With this approach, you can seamlessly integrate slides into your demos, making your presentations more engaging and dynamic.
Slide controls
When presenting slides, you have the following control available:

- Fullscreen mode: Toggles the fullscreen mode from Visual Studio Code.
- Presentation view: This toggles the presentation view, which hides the status bar, tabs, and activity bar to provide a distraction-free experience. You can also use the
setPresentationView
andunsetPresentationView
actions to control the presentation view programmatically, or from theDemo Time: Toggle presentation view (hides status bar, tabs, and activity bar)
command. - Close side panel: Closes the side panel to provide more space for your slides.
- Open the Demo Time panel: Opens the Demo Time panel to access your demos and slides.
- Previous step: Triggers the previous demo step (only if the
demo-time.previousEnabled
setting is enabled). - Next step: Triggers the next demo step.