Prettier plugin content is incorrect.
π Subject area/topic
Prettier
π Page(s) affected (or suggested, for new content)
https://docs.astro.build/en/editor-setup/
π Description of content that is out-of-date or incorrect
Prettier will then automatically detect the plugin and use it to process .astro files when you run it: it is written like this.
However, it seems that automatic detection of plugins has been discontinued since Prettier v3. (https://github.com/withastro/docs/pull/7507)
If the plugin is not automatically detected, I think automatically detect is a lie. I think this part needs to be deleted.
π₯οΈ Reproduction in StackBlitz (if reporting incorrect content or code samples)
No response
That's a great observation, Fixitπ οΈ π Adding in more: This can use Starlight Steps Rough Example:
1. Installation Tabs (npm/pnpm/yarn)
2. Create `.prettierrc` with plugins option set to `prettier-plugin-astro`
3. Start formatting with `prettier --write .`
Just bumping this for visibility! Would happily take a PR to delete the inaccurate statement, or to add <Steps> like @at-the-vr mentioned!