New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature - Copy CodeBlock Button #858

Closed
zhdenny opened this Issue May 25, 2018 · 1 comment

Comments

2 participants
@zhdenny

zhdenny commented 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

@ssddanbrown

This comment has been minimized.

Member

ssddanbrown commented 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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment