How do I modify the block copy button? #1010
Unanswered
chuxinyuan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Comment out the following code
hugo-theme-stack/assets/ts/main.ts
Lines 65 to 92 in 130e2f6
Add the following code
layouts/partials/footer/custom.html
add the following codeRefer to this article: https://yihui.org/en/2023/09/copy-button/
Problems arising
There are two copy buttons, one is near the code line number 1, the other copy button is not in the upper right corner, how to adjust it?
Beta Was this translation helpful? Give feedback.
All reactions