fix: list code block copy button config

This commit is contained in:
yuri1969
2024-06-19 21:05:32 +02:00
parent 1313415c8b
commit f8c584bf88
2 changed files with 6 additions and 2 deletions

View File

@ -78,12 +78,10 @@ def main():
say_hello() say_hello()
``` ```
### Copy Button ### Copy Button
By default, copy button is enabled for code blocks. By default, copy button is enabled for code blocks.
## Supported Languages ## Supported Languages
For a list of supported languages, please see the [Chroma documentation](https://github.com/alecthomas/chroma#supported-languages). For a list of supported languages, please see the [Chroma documentation](https://github.com/alecthomas/chroma#supported-languages).

View File

@ -151,6 +151,12 @@ params:
sortBy: date sortBy: date
sortOrder: desc # or "asc" sortOrder: desc # or "asc"
highlight:
copy:
enable: true
# hover | always
display: hover
comments: comments:
enable: false enable: false
type: giscus type: giscus