This commit is contained in:
2026-06-19 18:50:10 -04:00
parent c7d0d324bb
commit 85c67e1334
4 changed files with 43 additions and 153 deletions

15
lib.typ Normal file
View File

@@ -0,0 +1,15 @@
#let callout(kind: str, label: str, body) = html.section(class: kind + " callout", context {
let depth = counter(heading).at(here()).len() + 1
heading(
depth: depth,
outlined: false,
numbering: none,
label,
)
" "
body
})
#let note = callout.with(kind: "note", label: "Note:")
#let warn = callout.with(kind: "warn", label: "Warning:")
#let tip = callout.with(kind: "tip", label: "Tip:")