-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(apps): create new CodeBlock
#3321
Conversation
|
Preview deployments for this pull request: Storybook - Storefront - Theme - |
Coverage Report
File CoverageNo changed files found. |
"clsx": "^2.1.1", | ||
"next": "^15.1.5", | ||
"prettier": "^3.3.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new highlighting is how it looks in my terminal 😅 |
resolves #3028
With the new
CodeBlock
, we write actual markdown in our mdx files, instead of having to import the component and make sure we send children as a string with{
...}
.It also works in a pure TSX file, since then you can import the component and use is as normal.