updated to CeTZ 0.3.2 and Typst 0.13.0
This commit is contained in:
parent
a9633f25a3
commit
37dce1f7c9
@ -35,7 +35,7 @@ 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.1.0": schema
|
#import "@preview/rivet:0.2.0": schema
|
||||||
#let doc = schema.load("path/to/schema.yaml")
|
#let doc = schema.load("path/to/schema.yaml")
|
||||||
#schema.render(doc)
|
#schema.render(doc)
|
||||||
```
|
```
|
@ -1,4 +1,3 @@
|
|||||||
#import "@preview/cetz:0.3.1": draw
|
|
||||||
#import "../src/lib.typ": schema
|
#import "../src/lib.typ": schema
|
||||||
#import "../src/util.typ"
|
#import "../src/util.typ"
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#let version = version(0,1,0)
|
#let version = version(0,2,0)
|
||||||
|
|
||||||
#import "config.typ"
|
#import "config.typ"
|
||||||
#import "schema.typ"
|
#import "schema.typ"
|
@ -1,4 +1,4 @@
|
|||||||
#import "@preview/cetz:0.3.1": canvas, draw
|
#import "@preview/cetz:0.3.2": canvas, draw
|
||||||
|
|
||||||
#import "range.typ" as rng
|
#import "range.typ" as rng
|
||||||
#import "structure.typ"
|
#import "structure.typ"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "rivet"
|
name = "rivet"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
compiler = "0.12.0"
|
compiler = "0.13.0"
|
||||||
repository = "https://git.kb28.ch/HEL/rivet-typst"
|
repository = "https://git.kb28.ch/HEL/rivet-typst"
|
||||||
entrypoint = "src/lib.typ"
|
entrypoint = "src/lib.typ"
|
||||||
authors = [
|
authors = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user