Skip to content
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

jatkinson1000/add copy code button option #36

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jatkinson1000
Copy link

This builds on the seemingly stagnated PR #27 of @pbklink to remove the redundant else clause and comments as requested.

To quote @pbklink:

Includes a feature where a copy button can be added to all code blocks in a website.
This feature can be enabled by setting the following parameter in config.toml
copyCodeButtonEnabled = true
Note that this feature requires a JavaScript script. This script is included under the new static/js directory.

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

Successfully merging this pull request may close these issues.

2 participants