I wrote a library with a syntax similar to Typst (actually inspired by AsciiMath; and predates Typst by about a decade). Then there are Markdown-It plugins around it.

https://mathup.xyz/

https://github.com/runarberg/markdown-it-math