Is there a good way to make circuits in Typst?

I’m not a package author but I’d imagine generating HTML natively would require a substantial rewrite of the packages. However, typst has a html.frame element which can be used to automatically convert such drawing to SVG elements when exporting the document as HTML. This means that authors can keep their cetz drawings (the “typst equivalent” of tikz) as code in their submissions, and typst automatically handles this conversion to graphics files when it is needed :slight_smile:

2 Likes