add copy button to code blocks

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-04-21 14:05:59 +02:00
parent c6f47db8ba
commit cdcf69db60
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
5 changed files with 122 additions and 17 deletions

View file

@ -1,5 +1,5 @@
#import "./custom_html.typ" as chtml
#import "./html_utils.typ": get-css
#import "./html_utils.typ": get-css, get-js
/// Generate the html <head> element for the page.
#let html_head(
@ -87,6 +87,7 @@
}}
html.style(get-css())
html.script(get-js())
})
}