title: Gatsby.js: Preprocessing Relative Path Links in Markdown
body: <p>I'm wondering if there's a way, possibly by creating a plugin for <code>gatsby-transformer-remark</code>, that relative-path links could be converted to act as if they were using <code>&lt;Link&gt;</code> from <code>gatsby-link</code>.</p>
  
  <p>For instance, say I have the following in a markdown file:</p>
  
  <pre><code># Here is a Header
  
  Check out my about page:
  
  [About](/about)
  </code></pre>
  
  <p>If I import this markdown and display it with:</p>
  
  <pre><code>&lt;div dangerouslySetInnerHTML={{ __html: whatever.childMarkdownRemark.html }} /&gt;
  </code></pre>
  
  <p>Then when the "About" link is clicked it breaks the single-page app magic.</p>
  
  <p>Is there any way to prevent this? Thanks in advance.</p>