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

Code block missing copy and wrap #732

Open
robdy opened this issue Feb 22, 2023 · 0 comments · Fixed by #750
Open

Code block missing copy and wrap #732

robdy opened this issue Feb 22, 2023 · 0 comments · Fixed by #750
Labels
bug Something isn't working

Comments

@robdy
Copy link
Owner

robdy commented Feb 22, 2023

After migrating to MDX v2 in #712, code blocks miss the copy and wrap functionality.

For wrapping, this might help: https://stackoverflow.com/questions/62178921/updating-parent-component-state-from-child-component-with-usestate-react-hook

Notes from #739

Perhaps check this code: https://github.com/zslabs/zslabs-v3

Solution with line wrap and numbering: https://stackoverflow.com/a/41354764/9902555

Helpful guide: https://dev.to/fidelve/the-definitive-guide-for-using-prismjs-in-gatsby-4708

Best practices?: https://www.sitepoint.com/best-practice-for-code-examples/

@robdy robdy added the bug Something isn't working label Feb 22, 2023
@robdy robdy mentioned this issue Mar 10, 2023
4 tasks
@robdy robdy linked a pull request Mar 22, 2023 that will close this issue
@robdy robdy reopened this Mar 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant