-
Hi! I was wondering if it's possible to achieve following effect where the first line displays root path, then it's followed by one empty line and then the rest of the tree is rendered? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
There's no simple way to do this, but you could probably use the It's not a simple task and there are no examples. I might be willing to code it up as an example if there were a lot of people looking for this. I'm certainly available for questions if you wanted to take a shot at it yourself. |
Beta Was this translation helpful? Give feedback.
There's no simple way to do this, but you could probably use the
after_render
event to inject a blank node as the first child of the root node. That root node could be of typemessage
which would ensure that it is ignored by mappings and other internal logic.It's not a simple task and there are no examples. I might be willing to code it up as an example if there were a lot of people looking for this. I'm certainly available for questions if you wanted to take a shot at it yourself.