This is actually very little work to set up, have a look at: https://github.com/Relacibo/typst-as-lib (not my code, just something I found helpful)
It's a different set, not subset. I don't support some math and layout things that don't make sense on a webblog (or which I don't need). But I have custom elements for margin notes and such which typst doesn't have out of the box.
I don't like markdown - it's underspecified, typos turn into broken docs instead of compilation error and extending it is hard. I looked at rST which is close to what I want and what I would have used if I didn't find Typst, I just prefer the latter's syntax and also it's a rust library I can more easily work with.
Edit: also I'm not saying this is better or anything, it's just fun for me to build.