v2.5.0
π Highlights
-
Code blocks that tell the story
(#452, #422, #441, #439) Highlight lines, step through them click by click, animate the code from one version to the next withmagic-move, and show the code of a file in your workspace that stays up to date. -
Scene checkpoints
(#460) Go back to a scene and its files are restored before it runs again. Reset the whole play to how it started, or jump to any scene withDemo Time: Reset to scene.... Your own git repository is never touched. -
Drawing on slides
(#445) PressDand mark up the slide with a pen or highlighter, with a mouse, a pen or touch. -
Include slides from other files
(#426) Write your βabout meβ or βthank youβ slide once and include it in every talk with thesrcfront matter property. -
A slide editor in the preview
Slide thumbnails you can drag to reorder, a speaker notes pane like in PowerPoint, and slide actions in the right-click menu.
β¨ New & Notable Features
Code Blocks on Slides
-
Line highlights, title, caption and line numbers (#452) β
```ts {1-3},title,captionandshowLineNumbersnow work, with styles in all themes. A code block with a title shows as one box. Themes can change the colors with the--demotime-code-*CSS variables. -
Shiki notations (#452) β Mark lines in the code with
// [!code ++],// [!code --],// [!code focus],// [!code highlight],// [!code error],// [!code warning],// [!code info]and// [!code word:name]. -
Line steps (#422) β
```ts {1-2|4-6|all}highlights the next range on every click and dims the other lines. They are click steps, so they work with the arrow keys, clickers, the remote control and auto-advance.clicks=2starts them on a later click. -
Animated code changes (#441) β Put a code block for every step in a
````md magic-moveblock. On every click, the code that stays moves to its new place, new code fades in and removed code fades out, in the colors of your VS Code theme. Supportstitle,caption,showLineNumbers,clicksandduration. -
Code from workspace files (#439) β
```ts file="src/app.ts"shows the code of a file, with#L10-24for a line range or#region=setupfor a region. The preview updates when you save the file, and a missing file, range or region shows an error on the slide and in the Problems panel.
Scene Checkpoints
-
Restore files when you go back (#460) β Turn it on with the
demoTime.sceneCheckpointssetting or thesceneCheckpointsproperty of an act. Demo Time snapshots the workspace files when a scene starts and restores them when you go back to it. -
Reset β
Demo Time: Resetrestores the files as they were before the first scene, andDemo Time: Reset to scene...restores and reruns a scene of your choice. -
Separate repository β The checkpoints live in their own git repository, so your repository is never changed. Going back is allowed while scene checkpoints are on, unless you set
demoTime.previousEnabledyourself.
Slides
-
Drawing on slides (#445) β Turn it on with the Toggle drawing button of the slide controls or
D. Pick a pen or highlighter in six colors, the eraser or Clear drawings, and pressEscapeto stop. Drawings stay on their slide when you come back, are removed when presentation mode turns on or off, donβt count as click steps and are not part of the PDF export. -
srcFront Matter Property (#426) β The slide is replaced by all slides of another markdown file. Included slides keep their own front matter, thethemeandcustomThemeof the including file win, and properties next tosrc, likehide: true, apply to every included slide. Slide numbers, the navigator, the thumbnails, the next slide preview and the PDF export count the included slides.
Slide Preview
-
Slide thumbnails β Show the slides of the file in order. Click a thumbnail to open the slide, drag it or press
Alt+Up/Alt+Downto reorder, and right-click it for the slide actions. Turn them on or off with the Toggle slide thumbnails button or thedemoTime.slidePreviewThumbnailssetting. -
Speaker notes pane β Type the notes of the current slide below the preview, saved in its
<!-- notes -->block. Turn it on or off with the Toggle speaker notes button or thedemoTime.slidePreviewNotessetting. -
Right-click menu β Show slide contents, Change layout, Hide slide while presenting, Insert slide after, Duplicate slide, Delete slide, Move slide up and Move slide down update the markdown file for you.
-
Arrow keys move between slides β Outside presentation mode, the arrow keys,
PageDownandPageUpgo to the next and previous slide, like the Next and Previous buttons. -
Opens to the side β
Demo Time: Open slide previewopens the preview next to the markdown file instead of on top of it, and the focus stays in the editor.
Moves
pollInPreviewProperty β Show theshowEngageTimePollpoll in the Demo Time preview instead of the integrated browser, so the next and previous keys and clickers keep working.
π Improvements & Fixes
- Scene navigation β Next, previous and running another scene are ignored while the moves of a scene still run, so a quick second press canβt start a scene next to it.
- File moves β
copy,moveandrenamewait for the file operation before the next move starts. - Going back across slide files β The previous scene opens its slides on the last slide instead of the first one.
- Slide numbers β
{{crntSlideIdx}}and the progress bar follow the order of the act files. - Overview β Clicking a slide opens that slide instead of the one before it.
- Presenter view β The next slide preview shows the latest version of the slide.
- Remote control β The previous button and
/api/previousrespectdemoTime.previousEnabled. - Column markers in code β A
::right::or::section::marker in a code block or inline code no longer splits the slide. - Slide controls β The controls and cursor stay visible while the mouse is on them or a menu is open.
- PDF export and screenshots β Styles with quotes or a
>selector, relativeurl()fonts and images in custom themes,{{metadata.webViewUrl}}images in custom layouts, and centered elements split over two pages are fixed. - Analytics β The slide timeline no longer mixes slides of the previous scene in, the scene numbers are right when you go back or run a scene by id, and the No Timer status is readable.
- EngageTime polls β
startOnOpenandcloseOnOpenno longer pause the poll; the message shows in the status bar. - Pro Features β Authenticate with GitHub no longer stays on
Authenticating.... - Output channel β Every line in the Demo Time output channel has a time.
- Menus β Export slides to PDF moved to the β¦ menu of the Acts & Scenes view, and Show demos / Close sidebar are now Show scenes / Hide scenes.
π Documentation
- Code blocks β Line highlights, notations, line steps, animated code changes, code from workspace files and theming code blocks.
- Scene checkpoints β Turning them on, going back and resetting to a scene.
- Include slides β Paths, front matter and slide numbers of included slides.
- Slide preview β Slide thumbnails, speaker notes pane, slide context menu and drawing on slides.
π See Also
- Full project changelog: CHANGELOG.md