You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/02-template-syntax/02-basic-markup.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -138,3 +138,12 @@ Comments beginning with `svelte-ignore` disable warnings for the next block of m
138
138
<!-- svelte-ignore a11y-autofocus -->
139
139
<input bind:value={name} autofocus />
140
140
```
141
+
142
+
You can document components with the `@component` tag. These comments will appear when hovering over a component in IDEs with support such as VS Code with [the Svelte VS Code extension](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode).
0 commit comments