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

Feature request: Fold certain lines #86

Closed
i-am-the-slime opened this issue Jun 10, 2023 · 2 comments
Closed

Feature request: Fold certain lines #86

i-am-the-slime opened this issue Jun 10, 2023 · 2 comments

Comments

@i-am-the-slime
Copy link

It would be nice if it was easily possible to mark certain parts of code examples collapsible (imports in my case) with a little [+] or [-] icon.
Is this something that the summary tag could provide or would I have to reach out to radix-ui's collapsible or is it not possible at all?

Sorry if this out of scope!

@atomiks
Copy link
Collaborator

atomiks commented Jun 10, 2023

I'm not sure how to best integrate "interactive" parts into this package. That's why there isn't a copy code button yet either.

@o-az
Copy link
Member

o-az commented Feb 8, 2024

This is now a planned feature #177

@o-az o-az closed this as completed Jun 6, 2024
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

No branches or pull requests

3 participants