-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fmt - Error formatting Svelte 5 snippet #26324
Comments
The error I get when I format using prettier:
|
@satyarohith What's the version of prettier and prettier-plugin-svelte are you using? I'm using |
@satyarohith Svelte 5 just released (https://svelte.dev/blog/svelte-5-is-alive), and a fix to make this work would be greatly appreciated, as snippets is really useful to re-use HTML template code and remove duplication. |
I'm still getting an error in deno 2.0.5 (stable, release, x86_64-pc-windows-msvc) {#snippet test()}
<div>Test</div>
{/snippet}
|
I just ran into this as well. |
Reproduction
Expected
No errors
Actual
deno --version
deno 2.0.0 (stable, release, x86_64-unknown-linux-gnu)
v8 12.9.202.13-rusty
typescript 5.6.2
The text was updated successfully, but these errors were encountered: