Skip to content
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: add plaintext language to code block to prevent layout breaks #2745

Conversation

87xie
Copy link
Contributor

@87xie 87xie commented Sep 18, 2024

Related Bug Reports or Discussions

N/A

Summary

Hi everyone, I noticed that the error message code block in the v5 migration guideline doesn’t display correctly on the docs site, so I added the plaintext language to the code block to prevent layout breaks.

Feel free to close this if it is unnecessary.

Before

image

After

image

Check List

  • pnpm run prettier for formatting code and docs

Copy link

vercel bot commented Sep 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
zustand-demo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 18, 2024 3:12am

Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

@dai-shi
Copy link
Member

dai-shi commented Sep 18, 2024

I'm not sure if this fixes the issue, but let's merge and see.

@dai-shi dai-shi merged commit 18c0a3d into pmndrs:main Sep 18, 2024
26 checks passed
@87xie
Copy link
Contributor Author

87xie commented Sep 18, 2024

It looks better now. Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants