Typst + Scrivener is described here:
I made a sample workflow that generates Typst directly (no Pandoc/MMD intermediate) or via Pandoc. I personally prefer to use Pandoc to generate Typst output (perhaps unsurprising ). You can customise the Typst templates that Pandoc uses, with Typst code being much more intelligible than TeX. There is also a free online editor so you can play with styling visually, really cool! Typst is still relatively new so new versions can bring some breaking changes, something to be aware of…