feat: copy button for code blocks (#67)

* Add  code copy

* fix: safari copyButton style

* fix: addPreCopyButton up time

* modify: CopyButton style

* fix: Duplicate rendering issue with copy button
This commit is contained in:
Kuroki_Tsuki
2024-06-21 19:58:47 +08:00
committed by saicaca
parent 815692899d
commit 88a7414625
6 changed files with 67 additions and 0 deletions
+3
View File
@@ -35,4 +35,7 @@ export const zh_TW: Translation = {
[Key.author]: '作者',
[Key.publishedAt]: '發佈於',
[Key.license]: '許可協議',
[Key.codeCopy]: '複製',
[Key.codeCopied]: '複製成功',
}