-
-
Notifications
You must be signed in to change notification settings - Fork 186
feat: extract and surface playground links from README #55
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
Conversation
|
@Flo0806 is attempting to deploy a commit to the danielroe Team on Vercel. A member of the Team first needs to authorize it. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
this is really nice! apart from nuxt, what are some other repos where it detects sandboxes? |
|
Hopefully all! I searching the README and try to find all links of common providers. I tested it with
|
danielroe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is 🔥
Closes: #50
Extracts demo/playground links (StackBlitz, CodeSandbox, CodePen, etc.) from package READMEs and displays them prominently in the sidebar.
Changes
/api/registry/readme/to return{ html, playgroundLinks }PackagePlaygroundscomponent in sidebaruno.config.tsAppTooltipcomponentPlaygroundLinkandReadmeResponsetypesSupported Providers
StackBlitz, CodeSandbox, CodePen, Replit, Gitpod, Vue Playground, nuxt.new, vite.new, JSFiddle
Multiple playgrounds (including multiple providers):
Single playground: