Is there an equivalent of mdbook for Typst?

I do not know if this is the right place to ask about this but I would love have something like mdbook for typst. I would like to create preprocessors (e.g., collapsible sections, etc.) and have all the features of mdbook (e.g., summary) while simply writing Typst.

Does anyone know if something like this exists?

This is something I was looking for, too. Writing Typst is nicer and richer than writing Markdown. I would love for this to exist.

(Sadly, I didn’t find anything. So currently, I’m going with using regular mdbook output, writing custom preprocessors for it, and then using mdbook-typst-pdf to get PDFs from it using a Typst template.)

Shiro A is a choice. Its repo has 15x more stars than mdbook-typst-pdf.

But, shiroa replaces mdbook totally. I’m not sure if it meets your needs. You can give it a try.

This looks very promising, I’ll give it a try!

TyBook is another choice:

which is used by The Spade Book:

Also based on Bundle export, haita: Introduction