title: How to set text as bold and italics based on Markdown text input
body: <p>Essentially I'm looking for a way to process Markdown-style text to automagically use the <a href="https://developers.google.com/apps-script/reference/document/text#setBold(Boolean)" rel="nofollow">.setBold(), .setItalic(), and .setUnderline() methods</a> to modify the text being added to a Google Doc.</p>
  
  <p>I am working on a script that reads text from a cells in Google Sheet and creates a Google Doc. (The text in the sheet originally came from a Google Form.)</p>
  
  <p>I want entries such as <code>Certain words are **bold**, *italicized*, or a ***combination*** thereof.</code> to appear as:</p>
  
  <blockquote>
    <p>Certain words are <strong>bold</strong>, <em>italicized</em>, or a <strong><em>combination</em></strong> thereof.</p>
  </blockquote>
  
  <p>... in the final Google Doc that is created. Ideally, I'd like the option to <code>_underline_</code> as well.</p>