Skip to content

Commit bccfdc4

Browse files
authored
[fix] Update urls to docs to link to correct place (#1497)
1 parent 44d2d65 commit bccfdc4

File tree

1 file changed

+6
-6
lines changed
  • packages/language-server/src/plugins/svelte/features

1 file changed

+6
-6
lines changed

packages/language-server/src/plugins/svelte/features/SvelteTags.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Await blocks allow you to branch on the three possible states of a Promise — p
2323
\`{#await expression}...{:then name}...{/await}\`\\
2424
\`{#await expression then name}...{/await}\`\\
2525
\\
26-
https://svelte.dev/docs#await
26+
https://svelte.dev/docs#template-syntax-await
2727
`,
2828
each: `\`{#each ...}\`\\
2929
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.
3333
\`{#each expression as name, index (key)}...{/each}\`\\
3434
\`{#each expression as name}...{:else}...{/each}\`\\
3535
\\
36-
https://svelte.dev/docs#each
36+
https://svelte.dev/docs#template-syntax-each
3737
`,
3838
if: `\`{#if ...}\`\\
3939
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.
4242
\`{#if expression}...{:else if expression}...{/if}\`\\
4343
\`{#if expression}...{:else}...{/if}\`\\
4444
\\
45-
https://svelte.dev/docs#if
45+
https://svelte.dev/docs#template-syntax-if
4646
`,
4747
key: `\`{#key expression}...{/key}\`\\
4848
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
5151
#### Usage:
5252
\`{#key expression}...{/key}\`\\
5353
\\
54-
https://svelte.dev/docs#key
54+
https://svelte.dev/docs#template-syntax-key
5555
`,
5656
html:
5757
`\`{@html ...}\`\\
@@ -65,7 +65,7 @@ If the data comes from an untrusted source, you must sanitize it, ` +
6565
#### Usage:
6666
\`{@html expression}\`\\
6767
\\
68-
https://svelte.dev/docs#html
68+
https://svelte.dev/docs#template-syntax-html
6969
`,
7070
debug:
7171
`\`{@debug ...}\`\\
@@ -77,7 +77,7 @@ It accepts a comma-separated list of variable names (not arbitrary expressions).
7777
\`{@debug}\`
7878
\`{@debug var1, var2, ..., varN}\`\\
7979
\\
80-
https://svelte.dev/docs#debug
80+
https://svelte.dev/docs#template-syntax-debug
8181
`,
8282
const: `\`{@const ...}\`\\
8383
TODO

0 commit comments

Comments
 (0)