Closed qjcg closed 1 year ago
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.
Thanks for the quick reply, copy that and will do!
Created the feature request here:
Created the feature request here:
Excellent. Thanks 👍
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