diff --git a/exampleSite/content/docs/guide/syntax-highlighting.md b/exampleSite/content/docs/guide/syntax-highlighting.md index 018b0a0..45cc50c 100644 --- a/exampleSite/content/docs/guide/syntax-highlighting.md +++ b/exampleSite/content/docs/guide/syntax-highlighting.md @@ -80,7 +80,16 @@ def main(): ### Copy Button -By default, copy button is enabled for code blocks. +By default, copy button is enabled for code blocks. Its behavior can changed by modifying the site configuration file: + +```yaml {linenos=table,linenostart=42,filename="hugo.yaml"} +params: + highlight: + copy: + enable: true + # hover | always + display: hover +``` ## Supported Languages