add copy button to code blocks
This commit is contained in:
parent
c6f47db8ba
commit
cdcf69db60
5 changed files with 122 additions and 17 deletions
|
|
@ -12,6 +12,8 @@
|
|||
html.elem("theme-picker", attrs: (aria-label: label, role: "radiogroup"), body)
|
||||
}
|
||||
#let code-block = html.elem.with("code-block")
|
||||
#let code-block-button-container = html.elem.with("code-block-button-container")
|
||||
|
||||
#let icon-container(..args, body) = {
|
||||
html.elem("icon-container", attrs: args.named(), body)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue