add attachments to example.typ

This commit is contained in:
2025-10-03 19:28:00 +02:00
parent f22b16a803
commit 5c35389dca
4 changed files with 38 additions and 4 deletions

View File

@@ -60,7 +60,8 @@
}
}
#let attachments(attachments) = {
#let attachments(..attachments) = {
let attachments = attachments.pos();
assert_type_signature(
attachments, "array[array[string | content]] | array[string | content]", "attachments"
);
@@ -117,6 +118,9 @@
return;
}
let data = eval(data);
if data == false {
return;
}
heading(get_lang_item(language, "attachments"), numbering: none);
// listing