Add code copy button

This commit is contained in:
Riyyi
2025-03-31 11:16:02 +02:00
parent ebad4817be
commit c26c74a2fb
4 changed files with 85 additions and 3 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
justify-content: space-between;
margin-bottom: 1rem;
padding: 1rem;
background-color: #f6f8fa;
background-color: var(--w-pre-background-color);
}
/* Select <code> and <code class="shiki"> */
@@ -36,7 +36,7 @@
margin: 0;
font-size: 85%;
white-space: break-spaces;
background-color: #818b981f;
background-color: var(--w-code-background-color);
border-radius: 6px;
}