title: react native (expo) load markdown files
body: <p>I'm having some troubles loading markdown files (<code>.md</code>) into my react native (non-detached expo project).</p>
  
  <p>Found this awesome package that allows me to render it. But can't figure out how to load the local <code>.md</code> file as a string.</p>
  
  <pre><code>import react from 'react';
  import {PureComponent} from 'react-native';
  import Markdown from 'react-native-markdown-renderer';
  
  const copy = `# h1 Heading 8-)
  
  | Option | Description |
  | ------ | ----------- |
  | data   | path to data files to supply the data that will be passed into templates. |
  | engine | engine to be used for processing templates. Handlebars is the default. |
  | ext    | extension to be used for dest files. |
  `;
  
  export default class Page extends PureComponent {
  
    static propTypes = {};
    static defaultProps = {};
  
    render() {
      return (
          &lt;Markdown&gt;{copy}&lt;/Markdown&gt;
      );
    }
  }
  </code></pre>
  
  <hr>
  
  <p>BTW: I tried googling, but can't get the suggestions to work</p>
  
  <p><a href="https://forums.expo.io/t/loading-non-media-assets-markdown/522/2?u=norfeldtconsulting" rel="noreferrer">https://forums.expo.io/t/loading-non-media-assets-markdown/522/2?u=norfeldtconsulting</a></p>
  
  <p>I tried the suggested answers for reactjs on SO, but the problem seems to be that it only accepts <code>.js</code> and <code>.json</code> files</p>