mdbook-typst icon indicating copy to clipboard operation
mdbook-typst copied to clipboard

Support for typst graphics

Open xfbs opened this issue 1 year ago • 1 comments

Hey, just a random idea: wouldn't it be cool if this would let you embed typst graphics (for example made using CetZ) into regular mdbooks?

For example:

// cetz code here

Have this run through typst, output an SVG/PNG which is then embedded into the book.

I would love to have this because I like to create graphics in TikZ, and CetZ seems to be similar to that.

Not sure if that fits into the scope of this plugin, maybe that is a different enough use-case that it should go into it's own plugin, but I wanted to raise the idea.

xfbs avatar Apr 01 '24 11:04 xfbs

It does, but I don't need graphics (or math) for my use-cases so I likely will not get to it myself.

LegNeato avatar Jun 16 '24 18:06 LegNeato