varkor / quiver

A modern commutative diagram editor for the web.
https://q.uiver.app
MIT License
2.39k stars 78 forks source link

Support for export to Typst #177

Open shashankbangalore opened 11 months ago

shashankbangalore commented 11 months ago

Would it be possible to use this library

https://github.com/johannes-wolf/typst-canvas

to provide an option for exporting diagrams to Typst? It claims to have a similar API to TikZ.

shashankbangalore commented 11 months ago

There also is this package for Typst https://gitlab.com/giacomogallina/commute

varkor commented 11 months ago

It's unlikely I personally would have time to work on this, but I would consider adding support if someone else volunteered to implement the feature.

varkor commented 6 months ago

This feature was also requested by @kokic in https://github.com/varkor/quiver/issues/209; I am moving that discussion here.

btmxh commented 5 months ago

I just got some basic Typst exporting support in my fork, but it's pretty limited atm (no support for >= 2-cells, labels have to be written in Typst, some arrow heads and tails are unavailable).

Once the support is more stable I will make a PR I think.