When show_code_copy_buttons is enabled in theme config, fenced blocks include a copy button — matching upstream PaperMod behaviour.

.post-content pre {
  overflow-x: auto;
  border-radius: var(--radius);
}
theme:
  name: papermod
dune theme:install jsr:@dune/theme-papermod@1.0.0 --activate