Add “Copy Code” Button to Documentation Code Blocks#432
Open
MUFFANUJ wants to merge 5 commits intourunc-dev:mainfrom
Open
Add “Copy Code” Button to Documentation Code Blocks#432MUFFANUJ wants to merge 5 commits intourunc-dev:mainfrom
MUFFANUJ wants to merge 5 commits intourunc-dev:mainfrom
Conversation
✅ Deploy Preview for urunc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: anujkumar.singh <anujsinghhero292@gmail.com>
7cdd28a to
3fcea63
Compare
Signed-off-by: anujkumar.singh <anujsinghhero292@gmail.com>
8d53ff0 to
1f11119
Compare
Signed-off-by: anujkumar.singh <anujsinghhero292@gmail.com>
9431a6a to
3b4a8c0
Compare
Author
|
@cmainas @panosmaurikos can you please review this :) |
Contributor
|
Hello @MUFFANUJ , thank you for this feature. Looking around the preview the copy button looks good and it indeed works. However, I noticed that:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR introduces a copy-to-clipboard button for code blocks in the documentation. The change improves usability by allowing users to quickly copy commands and examples directly from the docs, particularly in sections like Quickstart and Installation.
Related issues
How was this tested?
Screen.Recording.2026-02-03.at.5.05.15.AM.mov
LLM usage
N/A
Checklist
make lint).make test_ctr,make test_nerdctl,make test_docker,make test_crictl).