Skip to content

Commit ed622d6

Browse files
committed
Fix incorrect options to {code} directive
1 parent f4d24c2 commit ed622d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

04-materials/02-anatomy-of-extensions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ that nothing is calling that method yet:
992992
```{code} typescript
993993
:linenos:
994994
:emphasize-lines: 7-19, 21-23
995-
:file: src/widget.ts
995+
:filename: src/widget.ts
996996
997997
class ImageCaptionWidget extends Widget {
998998
// Initialization
@@ -1026,7 +1026,7 @@ Now, we're calling `load_image()` when we initialize the widget:
10261026
```{code} typescript
10271027
:linenos:
10281028
:emphasize-lines: 12-25
1029-
:file: src/widget.ts
1029+
:filename: src/widget.ts
10301030
10311031
class ImageCaptionWidget extends Widget {
10321032
// Initialization

0 commit comments

Comments
 (0)