WorkFlowy (https://workflowy.com/demo/embed/) has a pretty cool implementation and it could work with Write! also, since we already can collapse headers.
That would be awesome.
Oh please, do this! Let's just switch between "source code" and the final rendering. I miss this so much.
Please implement this. :)