Package Information
- Last Updated
- Authors
- Leiser Fernández Gallo
1. Get the package
Download the package using the TPIX CLI:
tpix get @preview/fervojo:0.1.12. Import in your Typst file
Add this to your .typ file:
#import "@preview/fervojo:0.1.1": *Fervojo
Use railroads in your documents.
You use the function by calling render(diagram-text, css) which renders the diagram. There, diagram-text contains is the diagram itself and css is the one used for the style, css is default-css() if you don't pass it. Both fields can be strings, bytes or a raw raw block.