[PR #5076] [CLOSED] docs: fix copy button to CodeBlock #31357

Closed
opened 2026-04-17 22:13:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/5076
Author: @DawitMengistu
Created: 10/4/2025
Status: Closed

Base: canaryHead: canary


📝 Commits (2)

📊 Changes

1 file changed (+2 additions, -3 deletions)

View changed files

📝 docs/components/ui/code-block.tsx (+2 -3)

📄 Description

Summary by cubic

Added a copy button to docs code blocks so readers can quickly copy snippets. Made the button visible with hover feedback and applied consistent Shiki light/dark backgrounds to code blocks.

Written for commit 6e5b7d71db. Summary will update automatically on new commits.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/5076 **Author:** [@DawitMengistu](https://github.com/DawitMengistu) **Created:** 10/4/2025 **Status:** ❌ Closed **Base:** `canary` ← **Head:** `canary` --- ### 📝 Commits (2) - [`6a8e3ab`](https://github.com/better-auth/better-auth/commit/6a8e3ab2980aefa49102c0d29ebe830f07ec8987) Update code-block.tsx - [`6e5b7d7`](https://github.com/better-auth/better-auth/commit/6e5b7d71dbe9f9c9049a4f83c8794b8cdc59ac62) Update code-block.tsx ### 📊 Changes **1 file changed** (+2 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/ui/code-block.tsx` (+2 -3) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added a copy button to docs code blocks so readers can quickly copy snippets. Made the button visible with hover feedback and applied consistent Shiki light/dark backgrounds to code blocks. <sup>Written for commit 6e5b7d71dbe9f9c9049a4f83c8794b8cdc59ac62. Summary will update automatically on new commits.</sup> <!-- End of auto-generated description by cubic. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-17 22:13:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#31357