Throwing this question out there because I know we have some technically minded users.
I was watching a video on how LaTeX is good for having a workflow with separation of form and content. It intrigued me. I don't write physics or math papers though (context of video) and am most familiar with HTML/CSS. When I tried looking this up I didn't see what I felt was a strong consensus on the utility/ease of a particular tool to convert things.
I guess ancillary question is how do people update websites consistently (with long-form writing) when writing HTML documents can feel so tedious.