diff --git a/README.md b/README.md index 331f3e5d..fc9404db 100644 --- a/README.md +++ b/README.md @@ -94,29 +94,6 @@ Format: join the keywords `options`, `scripts`, `markup`, `styles` with a `-` in > The `options` order option only exists since version 2. If you use version 1 of `prettier-plugin-svelte`, omit that option (so for example only write `scripts-markup-styles`). -### Svelte Strict Mode - -More strict HTML syntax: Quotes in attributes and no self-closing DOM elements (except void elements). - -> In version 2 this overruled `svelteAllowShorthand`, which is no longer the case. - -> In Svelte 5, attributes are never quoted, because this will mean "stringify this attribute value" in a future Svelte version - -Example: - - -```html - -
- - -
-``` - -| Default | CLI Override | API Override | -| ------- | ----------------------------- | -------------------------- | -| `false` | `--svelte-strict-mode ` | `svelteStrictMode: ` | - ### Svelte Allow Shorthand Option to enable/disable component attribute shorthand if attribute name and expression are same. @@ -190,7 +167,6 @@ Whether or not to indent the code inside `