Skip to content

Conversation

@whkelvin
Copy link

@whkelvin whkelvin commented Oct 5, 2024

Added in a copy btn to copy the code

Screen.Recording.2024-10-05.at.20.28.37.mov

@webJose
Copy link

webJose commented Aug 31, 2025

This should be an opt-in (or opt-out) feature. From the changes, it seems that this will be always-present.

@metonym
Copy link
Owner

metonym commented Aug 31, 2025

Good callout @webJose! And I appreciate the initiative and early work @whkelvin!

Components offered by svelte-highlight should be modular, and avoid punishing the default experience.

I had a WIP for adding a composable CopyButton. I'll take time to get that done.

@metonym metonym mentioned this pull request Sep 1, 2025
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

Successfully merging this pull request may close these issues.

4 participants