forked from HEL/rivet-typst
7ef7f653b7952349efabf5ccf84704528e9a2cde
Paints the start/end line of a range if there was no previous range.
rivet-typst
RIVET (Register / Instruction Visualizer & Explainer Tool) is a Typst package for visualizing binary instructions or describing the contents of a register, using the CeTZ package.
It is based on the homonymous Python script
Examples
|
| A bit of eveything |
|
| RISC-V memory instructions (blueprint) |
Click on the example image to jump to the code.
Usage
For more information, see the manual
To use this package, simply import schema from rivet and call schema.load to parse a schema description. Then use schema.render to render it, et voilà !
#import "@preview/rivet:0.3.0": schema
#let doc = schema.load(yaml("path/to/schema.yaml"))
#schema.render(doc)
Description
Languages
Typst
99.1%
Just
0.9%