Skip to content

Commit

Permalink
update references
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrswift committed May 5, 2024
1 parent 6c6e8f7 commit efeb273
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
Binary file modified tests/integration/ref/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 18 additions & 8 deletions tests/integration/test.typ
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,32 @@
#{
let test = z.dictionary(
title: z.content(),
paper: z.papersize(default: "a4"),
authors: z.array(z.dictionary(
name: z.string(),
corresponding: z.boolean(default: false),
orcid: z.optional(z.string())
))
)),
header: z.dictionary(
article-type: z.string(default: "Article"),
article-color: z.color(default: rgb(87, 127, 230)),
article-meta: z.content(default: [])
),
keywords: z.array(z.string())
);


z.parse((
title: [],
authors: ((
name: "James",
//corresponding: none,
//orcid: ""
),)
authors: (
(
name: "James",
),(
name: "Jim",
corresponding: true
),
),
header: (article-color: cmyk(27%, 0%, 3%, 5%),)
), test);

}
sdf
}

0 comments on commit efeb273

Please sign in to comment.