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

chore: Add @theme-ui/mdx to Gatsby install instructions #2373

Merged
merged 2 commits into from
Dec 2, 2022
Merged

chore: Add @theme-ui/mdx to Gatsby install instructions #2373

merged 2 commits into from
Dec 2, 2022

Conversation

LekoArts
Copy link
Collaborator

@LekoArts LekoArts commented Dec 2, 2022

Hi!

I guess until Theme UI v1 (and it's clearly decided that the Gatsby plugin shouldn't include MDX anymore) the instructions need to be updated to also install @theme-ui/mdx for now.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Dec 2, 2022

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.

Latest deployment of this branch, based on commit 50758b9:

Sandbox Source
next-theme-ui-example Configuration
gatsby-plugin-theme-ui-example Configuration

@vercel
Copy link

vercel bot commented Dec 2, 2022

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

Name Status Preview Updated
theme-ui ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:22AM (UTC)

Copy link
Member

@lachlanjc lachlanjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lachlanjc
Copy link
Member

Curious for your thoughts—should the Gatsby plugin include MDX automatically?

@lachlanjc lachlanjc added the documentation Changes only affect the documentation label Dec 2, 2022
@LekoArts
Copy link
Collaborator Author

LekoArts commented Dec 2, 2022

You're welcome! As for your question, as said in #832 (comment) I think the plugin shouldn't include any MDX handling anymore. It's easier for you and for the users in the longrun to not have to mess with MDX in Theme UI. If you use MDX + Gatsby, you'll already set up a provider anyways.

@lachlanjc
Copy link
Member

Ah right, sounds great. Totally agree.

@lachlanjc lachlanjc merged commit 8e4b9d4 into system-ui:develop Dec 2, 2022
@LekoArts LekoArts deleted the patch-1 branch December 4, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Changes only affect the documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants