Feature - Copy CodeBlock Button #691

Closed
opened 2026-02-04 21:53:31 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @zhdenny on GitHub (May 25, 2018).

Desired Feature:

Include a convenient way to Copy inline code and code blocks. I've included an examples below. Plenty of forums, wikis, etc have these features and I would hope BookStack incorporates them as well. Thanks!

https://addons.cdn.mozilla.net/user-media/previews/full/147/147284.png?modified=1420286517

5c6c0c86a3_1_690x285.jpg

Originally created by @zhdenny on GitHub (May 25, 2018). Desired Feature: Include a convenient way to Copy **inline code** and **code blocks**. I've included an examples below. Plenty of forums, wikis, etc have these features and I would hope BookStack incorporates them as well. Thanks! https://addons.cdn.mozilla.net/user-media/previews/full/147/147284.png?modified=1420286517 https://meta-s3-cdn.freetls.fastly.net/optimized/3X/5/c/5c6c0c86a3406d6f1ad35b2af585f110a4740640_1_690x285.jpg
OVERLORD added the 🛠️ Enhancement label 2026-02-04 21:53:31 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Jun 9, 2018):

Hi @zhdenny, Thanks for the good suggestion.

I've now added this feature to BookStack to be part of the next release.
I have not added it for inline code since that's only really to be used for very simple snippets and it would complicate the UI adding a copy button to these but all code blocks within page content will have a copy button available.

@ssddanbrown commented on GitHub (Jun 9, 2018): Hi @zhdenny, Thanks for the good suggestion. I've now added this feature to BookStack to be part of the next release. I have not added it for inline code since that's only really to be used for very simple snippets and it would complicate the UI adding a copy button to these but all code blocks within page content will have a copy button available.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#691