feat: skip heading

This commit is contained in:
2026-03-29 13:25:25 +03:00
committed by unexplrd
parent 9578b5e4f1
commit f698299a2d
+4
View File
@@ -77,6 +77,7 @@
title: none,
authors: (),
mentors: (),
skip-heading: false,
) = {
assert(authors.len() > 0, message: "At least one author required")
@@ -96,6 +97,7 @@
(layouts.at(university, default: layouts.default))()
if not skip-heading {
pagebreak(weak: true)
// Set heading counter based on title/number
@@ -107,8 +109,10 @@
if number != none {
context counter(heading).update(number - 1)
}
heading(eval(title, mode: "markup"))
}
}
doc
}