I would strongly recommend MyST. MyST extends Markdown for technical and scientific communication. See https://www.myst.tools/
What people don't acknowledge is that there is a base level of syntax complexity needed to produce fully general documents. If you do, the natural conclusion is that to fix latex, you need a full rewrite of latex with minor changes to fix all the inconsistencies that have crept into it.
https://phd.row1.ca/phd/introduction
Allows web-first, as well as a PDF output (via LaTeX).
(edit: generating PDFs that is)