mirror of
https://github.com/imfing/hextra.git
synced 2025-05-17 14:18:26 -04:00
Compare commits
1 Commits
ea69f0bf59
...
da5b49e606
Author | SHA1 | Date | |
---|---|---|---|
![]() |
da5b49e606 |
@ -78,18 +78,11 @@ def main():
|
||||
say_hello()
|
||||
```
|
||||
|
||||
|
||||
### Copy Button
|
||||
|
||||
By default, copy button is enabled for code blocks. Its behavior can changed by modifying the site configuration file:
|
||||
By default, copy button is enabled for code blocks.
|
||||
|
||||
```yaml {linenos=table,linenostart=42,filename="hugo.yaml"}
|
||||
params:
|
||||
highlight:
|
||||
copy:
|
||||
enable: true
|
||||
# hover | always
|
||||
display: hover
|
||||
```
|
||||
|
||||
## Supported Languages
|
||||
|
||||
|
@ -151,12 +151,6 @@ params:
|
||||
sortBy: date
|
||||
sortOrder: desc # or "asc"
|
||||
|
||||
highlight:
|
||||
copy:
|
||||
enable: true
|
||||
# hover | always
|
||||
display: hover
|
||||
|
||||
comments:
|
||||
enable: false
|
||||
type: giscus
|
||||
|
Loading…
x
Reference in New Issue
Block a user