diff --git a/documentation/docs/03-template-syntax/05-await.md b/documentation/docs/03-template-syntax/05-await.md index 842b3c7e325d..5bec3d22d41b 100644 --- a/documentation/docs/03-template-syntax/05-await.md +++ b/documentation/docs/03-template-syntax/05-await.md @@ -70,10 +70,10 @@ Similarly, if you only want to show the error state, you can omit the `then` blo ``` > [!NOTE] You can use `#await` with [`import(...)`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/import) to render components lazily: -> -> ```svelte -> {#await import('./Component.svelte') then { default: Component }} -> -> {/await} -> ``` + +```svelte +{#await import('./Component.svelte') then { default: Component }} + +{/await} +```