-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Description
In the past, we had prettier in the repo which had the positive side effect that all (JS) code blocks in the docs had consistent formatting. Since we identified that prettier does not work well with current MDX we will lose this benefit.
However, It should be possible to format the code blocks during build, regardless of the input. With this I don't mean to actually modify commited code, but to sortof transpile the code blocks during the build, so that they are displayed formatted on the website.
We could apply different formatters for different languages and we may even use prettier for the JS code blocks.
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done