feat(style func): added show rules for heading(level: 3)

This commit is contained in:
2025-02-27 11:54:31 +02:00
parent 0e6f2ce25e
commit efa56f1fec
2 changed files with 12 additions and 0 deletions

Binary file not shown.

View File

@ -197,6 +197,18 @@
v(spacing * 2, weak: true)
}
show heading.where(level: 3): it => {
set text(size: 14pt, weight: "regular")
v(spacing * 2, weak: true)
block(width: 100%, spacing: 0em)[
#h(1.25cm)
#counter(heading).display(it.numbering)
#it.body
]
v(spacing * 2, weak: true)
}
// listings {{{2
show raw: it => {
let new_spacing = 0.5em