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

feat(mdx): support recma plugins #10241

Merged
merged 4 commits into from
Jun 21, 2024
Merged

feat(mdx): support recma plugins #10241

merged 4 commits into from
Jun 21, 2024

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Jun 21, 2024

Motivation

Fix #10237

MDX supports Recma plugins, and it's useful for some use cases of our community, so let's expose that option.

https://mdxjs.com/packages/mdx/#:~:text=recmaPlugins,-(PluggableList%20from

Test Plan

options unit tests + dogfood test to ensure it's wired properly

Test links

https://deploy-preview-10241--docusaurus-2.netlify.app/tests/docs/doc-without-sidebar/

Using this plugin works: https://github.com/domdomegg/recma-mdx-displayname

image

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Jun 21, 2024
@slorber slorber requested a review from Josh-Cena as a code owner June 21, 2024 16:48
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Jun 21, 2024
Copy link

netlify bot commented Jun 21, 2024

[V2]

Name Link
🔨 Latest commit 638fbc8
🔍 Latest deploy log https://app.netlify.com/sites/docusaurus-2/deploys/6675b210bddcdd000872e07e
😎 Deploy Preview https://deploy-preview-10241--docusaurus-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

github-actions bot commented Jun 21, 2024

⚡️ Lighthouse report for the deploy preview of this PR

URL Performance Accessibility Best Practices SEO PWA Report
/ 🟢 92 🟢 98 🟢 96 🟢 100 🟠 88 Report
/docs/installation 🟠 60 🟢 96 🟢 100 🟢 100 🟠 88 Report
/docs/category/getting-started 🟠 75 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog 🟠 71 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog/preparing-your-site-for-docusaurus-v3 🟠 65 🟢 96 🟢 100 🟢 100 🟠 88 Report
/blog/tags/release 🟠 71 🟢 100 🟢 100 🟢 90 🟠 88 Report
/blog/tags 🟠 75 🟢 100 🟢 100 🟢 90 🟠 88 Report

Copy link

Size Change: +123 B (+0.01%)

Total Size: 1.85 MB

Filename Size Change
website/.docusaurus/docusaurus.config.mjs 27.2 kB +96 B (+0.35%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/codeTranslations.json 2 B 0 B
website/.docusaurus/globalData.json 123 kB 0 B
website/.docusaurus/i18n.json 930 B 0 B
website/.docusaurus/registry.js 304 kB 0 B
website/.docusaurus/routes.js 202 kB 0 B
website/.docusaurus/routesChunkNames.json 130 kB 0 B
website/.docusaurus/site-metadata.json 2.17 kB 0 B
website/build/assets/css/styles.********.css 112 kB 0 B
website/build/assets/js/main.********.js 906 kB +27 B (0%)
website/build/index.html 38.1 kB 0 B

compressed-size-action

@slorber slorber merged commit cc506c8 into main Jun 21, 2024
32 checks passed
@slorber slorber deleted the slorber/support-recma-plugins branch June 21, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Recma plugins support
2 participants