better markup indentation for complex cases