Skip to content

Commit 5a5eead

Browse files
animate bwd
1 parent 1d2ddd5 commit 5a5eead

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@
154154

155155
function walkthroughGroupKey(slide) {
156156
if (!slide) return "default";
157+
const explicitGroup = (slide.dataset.walkthroughGroup || "").trim().toLowerCase();
158+
if (explicitGroup) return explicitGroup;
157159
const heading = slide.querySelector(
158160
":scope > h1, :scope > h2, :scope > h3, :scope > h4, :scope > h5, :scope > h6"
159161
);

present.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export function badgeColor(status: Status): string {
135135

136136
---
137137

138-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
138+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="ts" -->
139139
## Code Walkthrough: Full Context [1/3]
140140
```ts [1-200]
141141
type Stage = "queued" | "running" | "blocked" | "done";
@@ -250,7 +250,7 @@ export function formatDashboard(rows: TeamSummary[]): string[] {
250250

251251
---
252252

253-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
253+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="ts" -->
254254
## Code Walkthrough: Mid-File Focus [2/3]
255255
```ts [33-44]
256256
type Stage = "queued" | "running" | "blocked" | "done";
@@ -365,7 +365,7 @@ export function formatDashboard(rows: TeamSummary[]): string[] {
365365

366366
---
367367

368-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
368+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="ts" -->
369369
## Code Walkthrough: Lower-File Focus [3/3]
370370
```ts [92-104]
371371
type Stage = "queued" | "running" | "blocked" | "done";
@@ -480,7 +480,7 @@ export function formatDashboard(rows: TeamSummary[]): string[] {
480480

481481
---
482482

483-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
483+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="rust" -->
484484
## Rust Walkthrough: Full Context [1/3]
485485
```rust [1-50]
486486
use std::collections::HashMap;
@@ -537,7 +537,7 @@ fn format_summary(team: &str, score: f32) -> String {
537537

538538
---
539539

540-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
540+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="rust" -->
541541
## Rust Walkthrough: Multi-Range Focus [2/3]
542542
```rust [19-32,48-50]
543543
use std::collections::HashMap;
@@ -594,7 +594,7 @@ fn format_summary(team: &str, score: f32) -> String {
594594

595595
---
596596

597-
<!-- .slide: data-auto-animate class="code-walkthrough" -->
597+
<!-- .slide: data-auto-animate class="code-walkthrough" data-walkthrough-group="rust" -->
598598
## Rust Walkthrough: Lower-File Focus [3/3]
599599
```rust [34-45,48-50]
600600
use std::collections::HashMap;

0 commit comments

Comments
 (0)