@@ -23,7 +23,7 @@ Await blocks allow you to branch on the three possible states of a Promise — p
23
23
\`{#await expression}...{:then name}...{/await}\`\\
24
24
\`{#await expression then name}...{/await}\`\\
25
25
\\
26
- https://svelte.dev/docs#await
26
+ https://svelte.dev/docs#template-syntax- await
27
27
` ,
28
28
each : `\`{#each ...}\`\\
29
29
Iterating over lists of values can be done with an each block.
@@ -33,7 +33,7 @@ Iterating over lists of values can be done with an each block.
33
33
\`{#each expression as name, index (key)}...{/each}\`\\
34
34
\`{#each expression as name}...{:else}...{/each}\`\\
35
35
\\
36
- https://svelte.dev/docs#each
36
+ https://svelte.dev/docs#template-syntax- each
37
37
` ,
38
38
if : `\`{#if ...}\`\\
39
39
Content that is conditionally rendered can be wrapped in an if block.
@@ -42,7 +42,7 @@ Content that is conditionally rendered can be wrapped in an if block.
42
42
\`{#if expression}...{:else if expression}...{/if}\`\\
43
43
\`{#if expression}...{:else}...{/if}\`\\
44
44
\\
45
- https://svelte.dev/docs#if
45
+ https://svelte.dev/docs#template-syntax- if
46
46
` ,
47
47
key : `\`{#key expression}...{/key}\`\\
48
48
Key blocks destroy and recreate their contents when the value of an expression changes.\\
@@ -51,7 +51,7 @@ When used around components, this will cause them to be reinstantiated and reini
51
51
#### Usage:
52
52
\`{#key expression}...{/key}\`\\
53
53
\\
54
- https://svelte.dev/docs#key
54
+ https://svelte.dev/docs#template-syntax- key
55
55
` ,
56
56
html :
57
57
`\`{@html ...}\`\\
@@ -65,7 +65,7 @@ If the data comes from an untrusted source, you must sanitize it, ` +
65
65
#### Usage:
66
66
\`{@html expression}\`\\
67
67
\\
68
- https://svelte.dev/docs#html
68
+ https://svelte.dev/docs#template-syntax- html
69
69
` ,
70
70
debug :
71
71
`\`{@debug ...}\`\\
@@ -77,7 +77,7 @@ It accepts a comma-separated list of variable names (not arbitrary expressions).
77
77
\`{@debug}\`
78
78
\`{@debug var1, var2, ..., varN}\`\\
79
79
\\
80
- https://svelte.dev/docs#debug
80
+ https://svelte.dev/docs#template-syntax- debug
81
81
` ,
82
82
const : `\`{@const ...}\`\\
83
83
TODO
0 commit comments