From f21f606c181adc9eabf8b64ab243892c535803f9 Mon Sep 17 00:00:00 2001 From: Iustin G <89907337+iustin05@users.noreply.github.com> Date: Sun, 26 Oct 2025 03:15:49 +0200 Subject: [PATCH] Fix syntax alignment and visiblity for await example in docs Updated the alignment and visiblity for the await example. --- documentation/docs/03-template-syntax/05-await.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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} +```