Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

Code Copy Buttons #57

Open
kzjackson1 opened this issue Jun 18, 2019 · 3 comments
Open

Code Copy Buttons #57

kzjackson1 opened this issue Jun 18, 2019 · 3 comments

Comments

@kzjackson1
Copy link

Is it possible to have code copying buttons so that copying code from quick-start guides and tutorials is easier? I think the more technical term for that is 'code highlighting', but regardless, it would make code transfer faster in some of the tutorials.

RichieEscarez pushed a commit to RichieEscarez/website that referenced this issue Oct 10, 2019
@RichieEscarez
Copy link
Contributor

Need to investigate https://prismjs.com/ (another Docsy user sited the syntax highlighting features that include the "click to copy" feature)

@RichieEscarez
Copy link
Contributor

Docsy now supports prism: google/docsy#325

@RichieEscarez
Copy link
Contributor

New docsy features have been merged into our repo adding support for us to use the "click to copy" feature mention here: https://www.docsy.dev/docs/adding-content/lookandfeel/#code-highlighting-with-prism

Open issue: We need to reconfigure our site settings, test, and then merge before we can actually use the new feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants