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

fix(theme): support format pre code when children is array #757

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

10Derozan
Copy link
Member

@10Derozan 10Derozan commented Mar 12, 2024

Summary

When Use getCustomMDXComponent, pre code will not be rendered correctly.
After #642 , we need support array in pre, too.

Related Issue

Checklist

  • I have added changeset via pnpm run change.
  • I have updated the documentation.
  • I have added tests to cover my changes.

Copy link

netlify bot commented Mar 12, 2024

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit 0890cbf
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/65f01c19d59867000839c972
😎 Deploy Preview https://deploy-preview-757--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 79 (🔴 down 14 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 92 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@10Derozan 10Derozan merged commit 52dc2e5 into main Mar 12, 2024
9 checks passed
@10Derozan 10Derozan deleted the fix/theme-pre branch March 12, 2024 09:28
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.

1 participant