Properly indent KnockoutJS virtual elements
问题 I just started work on a large KnockoutJS code base in a Visual Studio MVC project. Everything so far seems fairly straightforward except the virtual elements. I understand the need and it is fairly nifty. However because the virtual elements are comments then indentation is all messed up which makes it a terrible pain to read. Is it possible to convert these to an actual html element or to get Visual Studio/Resharper to indent them correctly? For instance I have some code like the following