# Copy codeblock contents to clipboard

**URL:** https://meta.discourse.org/t/copy-codeblock-contents-to-clipboard/148855
**Category:** Announcements
**Tags:** new-feature
**Created:** [April 22, 2020, 2:07pm UTC](https://meta.discourse.org/t/copy-codeblock-contents-to-clipboard/148855 "2020-04-22T14:07:58Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [October 13, 2023, 3:03pm UTC](https://meta.discourse.org/t/copy-codeblock-contents-to-clipboard/148855/6 "2023-10-13T15:03:26Z")

</div>

Just a little extra announcement to append to this…

> [@justin](#):
>
> **This feature is off by default,** but if your community could benefit from it, you can turn it on by enabling the `show copy button on codeblocks` site setting.

The setting has proved to be so useful and universally lauded that it is now not only **default on** but also tucked away as a hidden site setting: 🥳

[https://github.com/discourse/discourse/commit/81f3f56deb9d9f363e8b3bdcf81306fc34751d7d](https://github.com/discourse/discourse/commit/81f3f56deb9d9f363e8b3bdcf81306fc34751d7d)

---

_[View the full topic](https://meta.discourse.org/t/copy-codeblock-contents-to-clipboard/148855)._
