Skip to content

Commit 3ec6d34

Browse files
committed
docs: fix code callout snippet
1 parent 3f4a653 commit 3ec6d34

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ The new `callouts` argument of the `.code` function attaches numbered markers to
1010

1111
```markdown
1212
.code callouts:{
13-
- 3: Defines the horizontal coordinate.
13+
- 2: Defines the horizontal coordinate.
1414
- 5: Takes the two coordinates.
1515
- 6: Assigns the horizontal coordinate.
1616
}
17-
.read {assets/point.ts}
17+
.read {point.ts}
1818
```
1919

20-
<img width="660" alt="Callout" src="https://github.com/user-attachments/assets/b2f183ab-0e11-4213-bdd4-7913dd8622c1" />
20+
<img width="660" alt="Callout" src="https://github.com/user-attachments/assets/99521edd-4ef0-4566-b114-3027c4fb5c91" />
2121

2222
### Changed
2323

docs/code.qd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ The `.code` function can attach numbered markers to specific lines through the o
4444

4545
.examplemirror
4646
.code callouts:{
47-
- 3: Defines the horizontal coordinate.
47+
- 2: Defines the horizontal coordinate.
4848
- 5: Takes the two coordinates.
4949
- 6: Assigns the horizontal coordinate.
5050
}

0 commit comments

Comments
 (0)