rivet-typst/gallery/test.typ

28 lines
576 B
Plaintext
Raw Normal View History

2024-05-19 10:16:43 +00:00
#import "../src/lib.typ": *
2024-05-19 10:47:52 +00:00
#let test-yaml = schema.load("/gallery/test.yaml")
#schema.render(test-yaml, config: config.config(
full-page: true
))
#let test-json = schema.load("/gallery/test.json")
#schema.render(test-json, config: config.blueprint(
full-page: true
))
#let test-xml = schema.load("/gallery/test.xml")
#schema.render(test-xml, config: config.dark(
full-page: true
2024-05-19 15:36:24 +00:00
))
#let test-raw = schema.load(```yaml
structures:
main:
bits: 4
ranges:
3-0:
name: test
```)
#schema.render(test-raw, config: config.config(
full-page: true
2024-05-19 10:16:43 +00:00
))