Skip to content

feat: add copy button to code blocks#32

Merged
k1LoW merged 1 commit intomainfrom
feat/code-block-copy-button
Mar 1, 2026
Merged

feat: add copy button to code blocks#32
k1LoW merged 1 commit intomainfrom
feat/code-block-copy-button

Conversation

@k1LoW
Copy link
Copy Markdown
Owner

@k1LoW k1LoW commented Mar 1, 2026

Summary

  • Add a copy-to-clipboard button on code blocks, shown on hover (top-right corner)
  • Uses GitHub Octicons (copy-16 / check-16) for consistent icon style
  • Button background matches the dark code block theme (github-dark)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 1, 2026

Code Metrics Report

main (748c698) #32 (2504990) +/-
Coverage 14.1% 14.1% 0.0%
Code to Test Ratio 1:0.1 1:0.1 -0.1
Test Execution Time 22s 22s 0s
Details
  |                     | main (748c698) | #32 (2504990) | +/-  |
  |---------------------|----------------|---------------|------|
  | Coverage            |          14.1% |         14.1% | 0.0% |
  |   Files             |              9 |             9 |    0 |
  |   Lines             |            593 |           593 |    0 |
  |   Covered           |             84 |            84 |    0 |
- | Code to Test Ratio  |          1:0.1 |         1:0.1 | -0.1 |
  |   Code              |           1548 |          1588 |  +40 |
  |   Test              |            284 |           284 |    0 |
  | Test Execution Time |            22s |           22s |   0s |

Reported by octocov

@k1LoW k1LoW merged commit 9eec824 into main Mar 1, 2026
8 checks passed
@k1LoW k1LoW deleted the feat/code-block-copy-button branch March 1, 2026 12:32
@k1LoW k1LoW added enhancement New feature or request tagpr:minor labels Mar 1, 2026
@k1LoW k1LoW self-assigned this Mar 1, 2026
@github-actions github-actions Bot mentioned this pull request Mar 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request tagpr:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant