Wayfinder
Wayfinder copied to clipboard
Wayfinder Generated Source Code formatting / Indentation
Wayfinder generates source code formatting with the assistance of template-chunks, and those are currently separated to Outer Tpl's (outer & row) and the second group which is the rest: -The Inner Tpl's (Inner & InnerRow) - they are reused in all sub levels when going deeper.
Trying to achieve nice tidy source code indentation is fine by placing indents and line breaks in the template-chunks, but it's good just for a simple menu with 2 levels. when we go deeper (more than 2 levels) we can't remain control of the output to be neat. we can't separate between parents rows and inner-rows and so..
I understand that there is no sense of using templates for each inner-sub-level (god knows how many of them could be).
My Suggestion is to add some kind of indent-perfix to wayfinder or automate this so we can all have nice tidy readable HTML output and sleep well at night :)
about the parents-templatting across the levels, i don't have an idea yet..