mirror of
https://github.com/imfing/hextra.git
synced 2025-05-15 11:38:29 -04:00
Compare commits
2 Commits
afe2b31929
...
93f9c9c0f8
Author | SHA1 | Date | |
---|---|---|---|
![]() |
93f9c9c0f8 | ||
![]() |
d01ca4f07b |
@ -80,7 +80,16 @@ def main():
|
|||||||
|
|
||||||
### Copy Button
|
### 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
|
## Supported Languages
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user