title: Google script code formatted,colored and beautiful indent
body: <p>I wrote a container-bound script and now want to make a report from it, by inserting the code into a Google Docs file. The problem is that with copy &amp; paste from the Script Editor, the code is no longer colored or indented. I will need your help because I don't know how to make it well done.
  I have this code :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>createAndSendDocument() { 
    // Create a new Google Doc named 'Hello, world!' 
    var doc = DocumentApp.create('Hello, world!'); 
    // Access the body of the document, then add a paragraph. 
    doc.getBody().appendParagraph('This document was created by Google Apps Script.'); 
    // Get the URL of the document. 
    var url = doc.getUrl(); // Get the email address of the active user - that's you. 
    var email = Session.getActiveUser().getEmail(); 
  }</code></pre>
  </div>
  </div>
  </p>