This looks really interesting. For a “casual coder”, I think you did a good job designing the spec for a new markup language. That’s not easy.
One weird edge case I’m thinking about: what happens if you have two lines, A and B, and A is indented with a tab and B is indented with 3 spaces? Is A the parent of B?
More generally: how do you compare tabs and spaces in the context of indentation levels?