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:
parent
cb187b0b4d
commit
e3354543c0
6 changed files with 20 additions and 9 deletions
|
@ -1361,7 +1361,7 @@ While other options may be changed at a runtime and should be placed under `sett
|
|||
}
|
||||
```
|
||||
|
||||
3. External formatters may optionally include a `{buffer_path}` placeholder which at runtime will include the path of the buffer being formatted. Formatters operate by receiving file content via standard input, reformatting it and then outputting it to standard output and so normally don't know the filename of what they are formatting. Tools like prettier support receiving the file path via a command line argument which can then used to impact formatting decisions.
|
||||
3. External formatters may optionally include a `{buffer_path}` placeholder which at runtime will include the path of the buffer being formatted. Formatters operate by receiving file content via standard input, reformatting it and then outputting it to standard output and so normally don't know the filename of what they are formatting. Tools like Prettier support receiving the file path via a command line argument which can then used to impact formatting decisions.
|
||||
|
||||
WARNING: `{buffer_path}` should not be used to direct your formatter to read from a filename. Your formatter should only read from standard input and should not read or write files directly.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue