f

fervojo

@preview

railroad for typst, powered by wasm

v0.1.1
MIT

Package Information

Last Updated

1. Get the package

Download the package using the TPIX CLI:

tpix get @preview/fervojo:0.1.1

2. Import in your Typst file

Add this to your .typ file:

#import "@preview/fervojo:0.1.1": *

Version History

0.1.1
e555b2b2d68f...
0.1.0
8e908641aed9...

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.