diff --git a/apps/svelte.dev/content/tutorial/01-svelte/04-logic/06-await-blocks/index.md b/apps/svelte.dev/content/tutorial/01-svelte/04-logic/06-await-blocks/index.md index 9f2cfc0e5c..4eeb51c35a 100644 --- a/apps/svelte.dev/content/tutorial/01-svelte/04-logic/06-await-blocks/index.md +++ b/apps/svelte.dev/content/tutorial/01-svelte/04-logic/06-await-blocks/index.md @@ -20,7 +20,6 @@ Most web applications have to deal with asynchronous data at some point. Svelte If you know that your promise can't reject, you can omit the `catch` block. You can also omit the first block if you don't want to show anything until the promise resolves: ```svelte -/// no-file {#await promise then number}

you rolled a {number}!

{/await} diff --git a/apps/svelte.dev/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/index.md b/apps/svelte.dev/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/index.md index 66f3b57547..979360d582 100644 --- a/apps/svelte.dev/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/index.md +++ b/apps/svelte.dev/content/tutorial/02-advanced-svelte/02-transitions/04-custom-css-transitions/index.md @@ -5,7 +5,6 @@ title: Custom CSS transitions The `svelte/transition` module has a handful of built-in transitions, but it's very easy to create your own. By way of example, this is the source of the `fade` transition: ```js -/// no-file function fade(node, { delay = 0, duration = 400 }) { const o = +getComputedStyle(node).opacity; @@ -33,7 +32,6 @@ For example, the `fade` transition generates a CSS animation somewhat like this: ```css -/// no-file 0% { opacity: 0 } 10% { opacity: 0.1 } 20% { opacity: 0.2 } diff --git a/apps/svelte.dev/content/tutorial/02-advanced-svelte/06-classes-and-styles/02-class-shorthand/index.md b/apps/svelte.dev/content/tutorial/02-advanced-svelte/06-classes-and-styles/02-class-shorthand/index.md index eab17eb077..2badd82462 100644 --- a/apps/svelte.dev/content/tutorial/02-advanced-svelte/06-classes-and-styles/02-class-shorthand/index.md +++ b/apps/svelte.dev/content/tutorial/02-advanced-svelte/06-classes-and-styles/02-class-shorthand/index.md @@ -5,7 +5,6 @@ title: Shorthand class directive Often, the name of the class will be the same as the name of the value it depends on: ```svelte -/// no-file