LaTeX is often written having content and presentation logic intertwined. In contrast, ConTeXt employs the concept of "setups" that make keeping the two aspects of a document distinct [0]. Part 8 of my Typesetting Markdown series [1] shows how to use annotations to write a poem in plain text, then subsequently format it using ConTeXt.
In many cases, authors need only basic TeX, which can be rendered by LaTeX, ConTeXt, and other TeX-based typesetting solutions. My desktop text editor, KeenWrite, provides such basic TeX rendering in real-time. See the screenshots [2] for examples of inline math, variables, and applying different themes to PDF files based on a single source document.
[0]: https://wiki.contextgarden.net/
[1]: https://dave.autonoma.ca/blog/2020/04/28/typesetting-markdow...
[2]: https://github.com/DaveJarvis/keenwrite/blob/master/docs/scr...