Copy code block button when no language is specified

Code blocks are still code blocks, even without a specified language.
There should be at least an option to have copy buttons on these too.
Or an option to enable or disable either blocks with and without languages.

Without this, I can’t even use plugins that fulfill this need, as they’ll just add their own button on top of the core one.


1 Like

Here is a topic with links to plugins I alluded to.

I found a CSS hack to make the default button disappear, so that it doesn’t collide with plugin provided ones. I hope there’ll be a proper solution to this, though.

.copy-code-button {
  display: none !important;

will be fixed in 0.12.20

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.