title: How do I compile the Sundown Markdown Renderer example? Keeps returning errors
body: <p><a href="https://github.com/vmg/sundown" rel="nofollow">Sundown</a> a (formerly) popular Markdown editor includes an examples directory, and I want to play around with it on the command line, but I'm having difficulties.</p>
  
  <p>I navigate to <code>examples</code>, I run <code>gcc sundown.c -o sundown</code> and it complains that I don't have <code>markdown.h</code>. So I dump the contents of the <code>src</code> directory and the <code>html</code> directory into the examples category, and run it. </p>
  
  <p>I then get:</p>
  
  <pre><code>Undefined symbols for architecture x86_64:
    "_bufgrow", referenced from:
        _main in sundown-3bac08.o
    "_bufnew", referenced from:
        _main in sundown-3bac08.o
    "_bufrelease", referenced from:
        _main in sundown-3bac08.o
    "_sd_markdown_free", referenced from:
        _main in sundown-3bac08.o
    "_sd_markdown_new", referenced from:
        _main in sundown-3bac08.o
    "_sd_markdown_render", referenced from:
        _main in sundown-3bac08.o
    "_sdhtml_renderer", referenced from:
        _main in sundown-3bac08.o
  </code></pre>
  
  <p>What exactly am I doing wrong here? I feel like this should be relatively simple, I'm just at wits end trying to figure out what I'm doing wrong.</p>