Feature Request: Add copy button to inline code (via parameter or settings)
Summary
Add a copy button to inline code.
Basic example
A copy button to the right of the code.
Motivation
Useful for copying inline code.
Existing Requests?
No
This issue is stale because it has been open 60 days with no activity.
This issue is stale because it has been open 60 days with no activity.
Any chance this will be added in a future release/update? Speaking for myself, I would find it useful.
Yep, definitely one of the more important things I'm going to add. I'll try and include it in the next release. Just as a general note for people, commenting on the features you'd like is very helpful as I can tell where best to put my time!
Thanks
This is one that I'd love to see as well. I often use inline code blocks not for code, but for documenting important values such as record IDs when I'm documenting my troubleshooting. I then often end up needing to copy these later.
edit: Suggestion on what would be helpful:
- Configure whether or not it's copyable by default (if not always, then including copy as attribute would trigger it).
- Copy icon shows only on hover unless configured otherwise.
I'm going to add this in the current refactor! Keep an eye out.
This is now fixed. Will be included in the next release.