Also, it's always a tree. The three operations, like folding, traversal,. etc, are essential for me, and not available in Markdown.
Fortunately, GitHub understands README.org files.
https://jblevins.org/projects/markdown-mode/