forked from HEL/rivet-typst
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			dd6d38a282
			...
			main
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 3e74ad15ee | |||
| 2d56678d43 | 
@@ -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à !
 | 
					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
 | 
					```typ
 | 
				
			||||||
#import "@preview/rivet:0.3.0": schema
 | 
					#import "@preview/rivet:0.3.0": schema
 | 
				
			||||||
#let doc = schema.load(yaml("path/to/schema.yaml"))
 | 
					#let doc = schema.load("path/to/schema.yaml")
 | 
				
			||||||
#schema.render(doc)
 | 
					#schema.render(doc)
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
		Reference in New Issue
	
	Block a user