-
Hi, after configuring the mkdocs.yml as follows, there is still no "Copy To Clipboard" icon on the code blocks. How can I add this function? Thanks! Screenshot: Code:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The copy to clipboard functionality mounts automatically, no configuration necessary. There's likely an error in your configuration, which results in an error in the browser's console, leading to the copy-to-clipboard button not being mounted. If you spin up a new instance of Material for MkDocs, you'll see that the button works nicely. Try removing your customizations (also extra JS and CSS), and if the error persists, narrow it down to a minimal reproducible example which you attach here as a zip. |
Beta Was this translation helpful? Give feedback.
-
Don't want to hijack this topic (Let me know if you want me to open a new issue) |
Beta Was this translation helpful? Give feedback.
-
Seems the issue is because if a change the changelog i missed Sorry for noise and panic for nothing |
Beta Was this translation helpful? Give feedback.
Seems the issue is because if a change the changelog i missed
https://squidfunk.github.io/mkdocs-material/upgrade/#contentcodecopy
Sorry for noise and panic for nothing