Skip to content

Add copy buttons to installation instruction code blocks#20

Merged
juntao merged 1 commit intomainfrom
add-copy-buttons
Feb 2, 2026
Merged

Add copy buttons to installation instruction code blocks#20
juntao merged 1 commit intomainfrom
add-copy-buttons

Conversation

@juntao
Copy link
Member

@juntao juntao commented Feb 2, 2026

Summary

  • Added copy-to-clipboard buttons to the Claude Code and OpenClaw installation instruction code blocks
  • Button shows "Copied!" feedback with green styling after successful copy
  • Uses the Clipboard API for reliable cross-browser support

Test plan

  • Open docs/index.html in a browser
  • Click the Copy button on the Claude Code tab
  • Verify the instruction text is copied to clipboard
  • Verify button shows "Copied!" and turns green
  • Switch to OpenClaw tab and repeat the test
  • Test on both desktop and mobile browsers

🤖 Generated with Claude Code

Added copy-to-clipboard functionality for the Claude Code and OpenClaw
installation instructions. Users can now click a copy button to copy
the instruction text to their clipboard with visual feedback.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@juntao juntao merged commit 0544e9a into main Feb 2, 2026
6 checks passed
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.

1 participant