title: Ruby Sinatra Embed erb Partial External HTML File
body: <p>I have a need to hold a "Purchase Contract" type of report in my website.  I am using <code>Sinatra</code> using <code>erb</code> files to deliver content.  I would like to email the current report (the versions will change) out when people sign up for various items.  </p>
  
  <p>I'm thinking I can house it in the database, or an external file, in some kind of format, so I can do the both:</p>
  
  <ul>
  <li>import it into an <code>erb</code> file for presentation on the web</li>
  <li>use it in an email so it's readable in text format</li>
  </ul>
  
  <p>So basically I need it in a format that's basic as possible, but it has to translate into <code>HTML</code> (<code>erb</code>) and text.  </p>
  
  <p>What are my options with the format of this file?  And how can I translate that into HTML?  I've looked at <code>markdown</code> and it's not very pretty with the <code>gems</code> that I find that translate to text.  Seeing that it needs plain text as well as <code>HTML</code> I'm a bit lost as to how to get this done.</p>
  
  <p><strong>File Snippet</strong></p>
  
  <pre><code>Privacy Policy
  Updated Feb 20, 2019
  
  Website.com (“Website”) is a private business. In this Privacy Statement the terms “we” and “our” refer to Website. This Privacy Statement explains Website’s practices regarding personal information of our users and visitors to this website (the “Website”), as well as those who have transactions with us through telephone, Internet, faxes and other means of communications.
  
  Website’s Commitment to Privacy
  At Website, we are committed to respecting the privacy of our members and our Website visitors. For that reason we have taken, and will continue to take, measures to help protect the privacy of personal information held by us.
  
  This Privacy Statement provides you with details regarding: (1) how and why we collect personal information; (2) what we do with that information; (3) the steps that we take to help ensure that access to that information is secure; (4) how you can access personal information pertaining to you; and (5) who you should contact if you have questions and concerns about our policies or practices.
  </code></pre>