[Other]: Update example in TabsCodeBlocks
component
#1004
Labels
planned
Features or content that are planned but not yet in progress.
site improvement
Something that improves the website functionality
Uh oh!
There was an error while loading. Please reload this page.
📋 Explain your issue
For some reason, Prettier does not format fenced code blocks inside JSX unless the following conditions are met:
For example, Prettier does not recognize the fenced code block in this code:
As a result, it formats it incorrectly like this:
To help prevent this issue, I suggest updating the example from the
TabsCodeBlocks
component. Change it from:to something like this:
It would also be helpful to leave a note about this issue too.
Feel free to assign this task to me if you’d like.
The text was updated successfully, but these errors were encountered: