Hey @typst ... wrt html export... are packages simply expected to work out of the box? E.G. if I use "diagraph" to render something, should the html export automatically do the right thing and embed the SVG in my page?

(I am using tola for the whole setup, so I am not sure whether I should start digging there or on the typst level... but I have to start somewhere of course)

@musicmatze since HTML support is still experimental, packages are currently not expected to support it at all, but long term, the expectation is for them to work out of the box.

That means that if a package believes it should be embedded in an SVG using html.frame, it should create one (if it's not already in paged export, check using the target function).

@musicmatze Granted, this is all still a bit in flux and we have not published guidelines for package authors yet; there have been thoughts from the community, for example in https://youtu.be/KETMlZ4He9k
Reconciling Packages and HTML | Typst Meetup

YouTube