@Avi I see now. If nothing else, that's certainly a
very unusual way to organize your code, getting close to obfuscated code territory. I'd generally recommend that you store that as a variable instead of placing the block there. Were I code reviewing it, I'd certainly reject it ^_^. However, your question can still be improved by providing
both the input source code and the desired output code. That way there can be no ambiguity about what exactly it is you want the formatter to do and a potential answerer can feel that much more confident about their answer being useful. —
Shepmaster 47 secs ago