docs: Improve the Tailwind CSS page (#31681)

Namely, ensuring we mention the support for their Prettier plugins.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal
2025-05-29 08:15:59 -03:00
committed by GitHub
parent cb187b0b4d
commit e3354543c0
6 changed files with 20 additions and 9 deletions
+12 -1
View File
@@ -1,6 +1,6 @@
# Tailwind CSS
Tailwind CSS support is built into Zed.
Zed has built-in support for Tailwind CSS autocomplete, linting, and hover previews.
- Language Server: [tailwindlabs/tailwindcss-intellisense](https://github.com/tailwindlabs/tailwindcss-intellisense)
@@ -22,3 +22,14 @@ Languages which can be used with Tailwind CSS in Zed:
- [PHP](./php.md)
- [Svelte](./svelte.md)
- [Vue](./vue.md)
### Prettier Plugin
Zed supports Prettier out of the box, which means that if you have the [Tailwind CSS Prettier plugin](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) installed, adding it to your Prettier configuration will make it work automatically:
```json
// .prettierrc
{
"plugins": ["prettier-plugin-tailwindcss"]
}
```