Anyone else want to use Typst as a static site generator?
Typst just added an experimental HTML export option (issue #5512)… so naturally I went ahead and tried to remake my website with it. It went pretty well, I’d say. (Not that there’s a lot on there to remake in the first place tbh.)
Here’s the source code (some interesting files to look at are global/common.typ, and the various .typ files in personal/). The live site itself is here.
This feature works fairly well already, and the output looks identical to what I had before, which is very nice. Of course this is still heavily work in progress, so some workarounds are needed (such as for paragraphs), but that’s fine.
I can’t wait to see how this develops.