progressive disclosure for nested content

I’m looking for a useful editing UX for large, tree-structured content like this:
Project 1
– Step 1
– Explanation 1
– Explanation 2: could be long paragraphs, too.
– E2.1: Lots of nesting
– with subtask
– y…