One nice thing with jQuery is that the syntax (such as when chaining) allows your script to span multiple line breaks for ease of formatting and readability.
Is there an equivalent/preferred method when one is adding a large string of HTML?
For instance, it'd be nice to do something like this:
$("#theObject")
.doSomething()
.append("
<div>
<div>
Hello World
</div>
</div>
")
That doesn't work but is there something akin to that to make it easier to read HTML being formatted within a jQuery script?