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

Support custom components provided via a provider #402

Merged
merged 2 commits into from
Feb 26, 2024

Conversation

remcohaszing
Copy link
Member

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and couldn’t find anything (or linked relevant results below)
  • If applicable, I’ve added docs and tests

Description of changes

This adds support for components provided via the providerImportSource option.

The user can specify which components are available by specifying the MDXProvidedComponents type either locally inside the MDX file or for all MDX files by declaring it globally.

Closes #399

@remcohaszing remcohaszing added 🦋 type/enhancement This is great to have 🗄 area/interface This affects the public interface 👶 semver/patch This is a backwards-compatible fix 👍 phase/yes Post is accepted and can be worked on labels Feb 26, 2024
Copy link

changeset-bot bot commented Feb 26, 2024

🦋 Changeset detected

Latest commit: 060e0a7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@mdx-js/language-service Patch
@mdx-js/language-server Patch
vscode-mdx Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This comment has been minimized.

This adds support for components provided via the `providerImportSource`
option.

The user can specify which components are available by specifying the
`MDXProvidedComponents` type either locally inside the MDX file or for
all MDX files by declaring it globally.

Closes #399
@remcohaszing remcohaszing merged commit cd59565 into main Feb 26, 2024
8 checks passed
@remcohaszing remcohaszing deleted the support-provided-components branch February 26, 2024 16:10

This comment has been minimized.

@remcohaszing remcohaszing added the 💪 phase/solved Post is done label Feb 26, 2024
@github-actions github-actions bot mentioned this pull request Feb 26, 2024
@github-actions github-actions bot removed the 👍 phase/yes Post is accepted and can be worked on label Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🗄 area/interface This affects the public interface 💪 phase/solved Post is done 👶 semver/patch This is a backwards-compatible fix 🦋 type/enhancement This is great to have
Development

Successfully merging this pull request may close these issues.

Support MDX provider
1 participant