Show HN: A web text-editor where you can write, compute and draw
You may find Pollen (https://docs.racket-lang.org/pollen/big-picture.html) interesting. Pollen also blend text and program by Lisp, and can output HTML.I loved the idea of creating my own text format by code, but now I think markdown + pandoc filters are enough for my need.