add copy button to code blocks
This commit is contained in:
parent
c6f47db8ba
commit
cdcf69db60
5 changed files with 122 additions and 17 deletions
|
|
@ -90,20 +90,6 @@
|
|||
margin-top: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
code-block {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
border-radius: 8px;
|
||||
margin: 8px;
|
||||
background-color: var(--color-code-bg);
|
||||
box-shadow: inset 0px 0px 5px 0px #000;
|
||||
pre {
|
||||
padding: 8px;
|
||||
margin: 0;
|
||||
overflow: auto;
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
set figure(supplement: none)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue