We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
With params.docs.prism = false set in hugo.toml, no copy codeblock button is present on code blocks.
params.docs.prism = false
hugo.toml
A copy codeblock button is present on code blocks when prism = false.
prism = false
No response
- OS: - Browser: - Browser Version:
The text was updated successfully, but these errors were encountered:
Yep.
With params.docs.prism = false the theme reverts to Hugo's default syntax highlighter Chroma, which doesn't feature a copy button.
However, there is a way to implement this. Make a feature request in the discussions section of the repo. I track all feature request there.
Sorry, something went wrong.
Thanks for the quick reply, copy that and will do!
Created the feature request here:
#106
Excellent. Thanks 👍
No branches or pull requests
Past Issues Searched
Issue is a Bug Report
Describe the bug
With
params.docs.prism = false
set inhugo.toml
, no copy codeblock button is present on code blocks.Expected behavior
A copy codeblock button is present on code blocks when
prism = false
.Screenshots
No response
Environment
The text was updated successfully, but these errors were encountered: