Typst has already experimental HTML output and it specifically has a markup mode (default mode).
Conceptually Typst is a superset of a Markdown with a slightly different syntax (e.g. = instead of # for headers)