add attachments to example.typ
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user