From dd6d38a2824e2f544fcf82ba32d1622f6e76b53c Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Sat, 3 May 2025 00:54:38 +0200 Subject: [PATCH] fixed README example usage --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a928135..441b14a 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,6 @@ For more information, see the [manual](manual.pdf) To use this package, simply import `schema` from [rivet](https://typst.app/universe/package/rivet) and call `schema.load` to parse a schema description. Then use `schema.render` to render it, et voilĂ  ! ```typ #import "@preview/rivet:0.3.0": schema -#let doc = schema.load("path/to/schema.yaml") +#let doc = schema.load(yaml("path/to/schema.yaml")) #schema.render(doc) ``` \ No newline at end of file