chore: bump prettier, re-enable prettier for docs (#11695)
## Introducing Prettier for docs
Prettier [was originally disabled for our docs as it didn't support MDX
2.0](1fa636417f),
outputting invalid MDX syntax.
This has since been fixed - prettier now supports MDX 2.0.
## Reducing print width
This also reduces the print width for the docs folder from 100 to 70.
Our docs code field are very narrow - this should help make code more
readable.
**Before**

**After**

**Before**

**After**

This commit is contained in:
@@ -12,5 +12,7 @@ There are two ways to use Live Preview in your own application depending on whet
|
||||
- [Client-side Live Preview](./client)
|
||||
|
||||
<Banner type="info">
|
||||
We suggest using server-side Live Preview if your framework supports Server Components, it is both simpler to setup and more performant to run than the client-side alternative.
|
||||
We suggest using server-side Live Preview if your framework supports Server
|
||||
Components, it is both simpler to setup and more performant to run than the
|
||||
client-side alternative.
|
||||
</Banner>
|
||||
|
||||
Reference in New Issue
Block a user