title: formatting jQuery strings that should span multiple lines
body: <p>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.</p>
  
  <p>Is there an equivalent/preferred method when one is adding a large string of HTML?</p>
  
  <p>For instance, it'd be nice to do something like this:</p>
  
  <pre><code> $("#theObject")
      .doSomething()
      .append("
          &lt;div&gt;
               &lt;div&gt;
                    Hello World
               &lt;/div&gt;
          &lt;/div&gt;
      ")
  </code></pre>
  
  <p>That doesn't work but is there something akin to that to make it easier to read HTML being formatted within a jQuery script?</p>