forked from HEL/rivet-typst
updated gallery
This commit is contained in:
23
gallery/example3.typ
Normal file
23
gallery/example3.typ
Normal file
@ -0,0 +1,23 @@
|
||||
#import "../src/lib.typ": schema, config
|
||||
|
||||
#let example = schema.load("/gallery/example1.yaml")
|
||||
//#schema.render(example)
|
||||
|
||||
= Chapter 1
|
||||
#lorem(50)
|
||||
|
||||
= Chapter 2
|
||||
#lorem(50)
|
||||
|
||||
== Section 2.1
|
||||
|
||||
#lorem(20)
|
||||
|
||||
#figure(
|
||||
schema.render(example, config: config.config(all-bit-i: false)),
|
||||
caption: "Test schema"
|
||||
)
|
||||
|
||||
#lorem(20)
|
||||
|
||||
= Chapter 3
|
Reference in New Issue
Block a user