style code

This commit is contained in:
Jean-Marie 'Histausse' Mineau 2026-03-17 00:31:21 +01:00
parent 73943c5022
commit 7e0235fb88
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
6 changed files with 51 additions and 24 deletions

View file

@ -11,3 +11,4 @@
// Role 'radiogroup' is needed because of bug in chromium with screenreaders (https://lyra.horse/blog/2025/08/you-dont-need-js/#fn:10)
html.elem("theme-picker", attrs: (aria-label: label, role: "radiogroup"), body)
}
#let code-block = html.elem.with("code-block")