diff --git a/exampleSite/content/docs/guide/syntax-highlighting.md b/exampleSite/content/docs/guide/syntax-highlighting.md index 799c5ec..018b0a0 100644 --- a/exampleSite/content/docs/guide/syntax-highlighting.md +++ b/exampleSite/content/docs/guide/syntax-highlighting.md @@ -78,12 +78,10 @@ def main(): say_hello() ``` - ### Copy Button By default, copy button is enabled for code blocks. - ## Supported Languages For a list of supported languages, please see the [Chroma documentation](https://github.com/alecthomas/chroma#supported-languages). diff --git a/exampleSite/hugo.yaml b/exampleSite/hugo.yaml index 5b0776a..d2c03d0 100644 --- a/exampleSite/hugo.yaml +++ b/exampleSite/hugo.yaml @@ -151,6 +151,12 @@ params: sortBy: date sortOrder: desc # or "asc" + highlight: + copy: + enable: true + # hover | always + display: hover + comments: enable: false type: giscus