@alexia I don't use this editor, but I came across Leo while researching literate programming:

https://en.wikipedia.org/wiki/Leo_%28text_editor%29

I decided not to spend time on it because I don't think literate programming can be done properly with only a text editor, I think you need support from the programming language itself or some software for "weaving" the documentation with the code etc. But you might disagree!

I do think literate programming could be a good response to slop, helping people understand code.