Today I'm playing with Pollen, a 'programmable publishing system'. It lets you intermingle prose and code definitions. https://docs.racket-lang.org/pollen/Backstory.html
Racket promotes defining new languages, so it's a great fit there. The syntax feels lighter than TeX too.
Prettier 1.13 has had a ton of polish, but this feature really caught my eye: it explicitly adds parentheses to arithmetic operations, to avoid confusion regarding precedence!
https://prettier.io/blog/2018/05/23/1.13.0.html