Skip to content

Commit 141e3bc

Browse files
author
Rich Harris
committed
tidy up
1 parent 1145436 commit 141e3bc

File tree

4 files changed

+4
-26
lines changed

4 files changed

+4
-26
lines changed

content/tutorial/03-advanced-svelte/07-composition/01-slots/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Just like elements can have children...
1616
```svelte
1717
/// file: Box.svelte
1818
<div class="box">
19-
<slot />
19+
+++<slot />+++
2020
</div>
2121
```
2222

@@ -25,7 +25,7 @@ You can now put things in the box:
2525
```svelte
2626
/// file: App.svelte
2727
<Box>
28-
<h2>Hello!</h2>
29-
<p>This is a box. It can contain anything.</p>
28+
+++<h2>Hello!</h2>+++
29+
+++<p>This is a box. It can contain anything.</p>+++
3030
</Box>
3131
```

content/tutorial/03-advanced-svelte/07-composition/02-slot-fallbacks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ We can now create instances of `<Box>` without any children:
2222
<p>This is a box. It can contain anything.</p>
2323
</Box>
2424
25-
+++<Box/>+++
25+
+++<Box />+++
2626
```

content/tutorial/03-advanced-svelte/07-composition/02-slot-fallbacks/app-a/src/lib/App.svelte

Lines changed: 0 additions & 8 deletions
This file was deleted.

content/tutorial/03-advanced-svelte/07-composition/02-slot-fallbacks/app-a/src/lib/Box.svelte

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)