Restructure code: split features into separate files

This commit is contained in:
2026-01-28 13:33:02 +01:00
parent fcd5378f51
commit de6dcf2b82
18 changed files with 646 additions and 629 deletions
+16
View File
@@ -0,0 +1,16 @@
#let panicOnPlaceholder = state("panicOnPlaceholder", true)
// Return the value with a colorful background so it is visibly a placeholder.
// Has the ability to panic if panicOnPlaceholder is set to true.
#let placeholder(value) = {
highlight(
fill: rgb(0xff, 0xa2, 0x9c, 0xff),
value
)
context(
if panicOnPlaceholder.get() {
panic("Found placeholder and panicOnPlaceholder is set.")
}
)
}