You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Code component currently lacks a built-in copy button functionality for code blocks, which is a common and useful feature in code highlighting components.
Current Behaviour
Code blocks are rendered with syntax highlighting and line numbers
No native way to copy code contents to clipboard
Requested Feature
Add a built-in copy button functionality that:
Appears on hover (or permanently) in the top-right corner of code blocks
Copies the raw code content (without line numbers) to clipboard
Provides visual feedback on copy success
The text was updated successfully, but these errors were encountered:
The
Code
component currently lacks a built-in copy button functionality for code blocks, which is a common and useful feature in code highlighting components.Current Behaviour
Requested Feature
Add a built-in copy button functionality that:
The text was updated successfully, but these errors were encountered: