Replies: 5 comments 1 reply
-
Thanks for reporting. Does it work locally when running |
Beta Was this translation helpful? Give feedback.
-
Sorry, forget about Yes, it works with |
Beta Was this translation helpful? Give feedback.
-
Then it is very likely related to one of the other plugins. The example you provided is far from being minimal – there are 3 third-party plugins involved: Also look in the browser console and check if there are errors. If there are, please post them here. If you have your site deployed, please post a link to your site. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Sorry, I double-checked again. With I have removed all these plugins, everything remains the same. There are no errors in the logs when executing |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Context
#5471
Bug description
When updating mkdocs-material from 8.5.11 to 9.x.x (according to this instruction) the button for copying code blocks is missing. I added the
content.code.copy
feature, but the buttons never appeared. I tried to figure out which feature this feature might conflict with and realized that the featurescontent.code.copy
andnavigation.instant
do not work at the same time. Whennavigation.instant
is disabled, copy buttons appear.Related links
Reproduction
codeblock_issue.zip
Steps to reproduce
codeblock_issue
site/Index.html
there are buttons for copying code blocksmkdocs.yml
and uncomment the line- navigation.instant
site/Index.html
there are no buttons for copying code blocksBrowser
No response
Before submitting
Beta Was this translation helpful? Give feedback.
All reactions