Update 01-basic-markup.md with new svelte-ignore syntax ()

pull/15447/head
Pavel Nedrigailov 4 weeks ago committed by GitHub
parent 3b465a7172
commit e591e872aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -185,7 +185,7 @@ You can use HTML comments inside components.
Comments beginning with `svelte-ignore` disable warnings for the next block of markup. Usually, these are accessibility warnings; make sure that you're disabling them for a good reason.
```svelte
<!-- svelte-ignore a11y-autofocus -->
<!-- svelte-ignore a11y_autofocus -->
<input bind:value={name} autofocus />
```

Loading…
Cancel
Save