Skip to content

Commit 618e836

Browse files
committed
fix: code block should keep annotate with "/// file: ..."
1 parent 8e2c54f commit 618e836

File tree

1 file changed

+2
-2
lines changed
  • content/tutorial/03-sveltekit/06-forms/04-progressive-enhancement

1 file changed

+2
-2
lines changed

content/tutorial/03-sveltekit/06-forms/04-progressive-enhancement/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Vậy là xong! Bây giờ, khi JavaScript được kích hoạt, use:enhance s
4040
Bây giờ chúng ta đang cập nhật trang thay vì tải lại nó, chúng ta có thể làm phức tạp hơn với những thứ như transitions:
4141

4242
```svelte
43-
/// tệp: src/routes/+page.svelte
43+
/// file: src/routes/+page.svelte
4444
<script>
4545
+++import { fly, slide } from 'svelte/transition';+++
4646
import { enhance } from '$app/forms';
@@ -51,6 +51,6 @@ Bây giờ chúng ta đang cập nhật trang thay vì tải lại nó, chúng t
5151
```
5252

5353
```svelte
54-
/// tệp: src/routes/+page.svelte
54+
/// file: src/routes/+page.svelte
5555
<li +++in:fly={{ y: 20 }} out:slide+++>...</li>
5656
```

0 commit comments

Comments
 (0)