title: How can I export Markdown documentation to different formats?
body: <h1>Writing Documentation</h1>
  
  <p>As a developer, I've been looking for the easiest way to write and update documentation. Not a boring text that screams <em>"don't read me",</em> but something happily (and easily) formatted with extra easy support for code.</p>
  
  <p>From LaTeX to wiki to Markdown, just to name a few, I think Markdown is about as close as it gets. But the document itself is very nerdy and not very portable. This will need to become HTML and PDF.</p>
  
  <h1>Markdown Editor</h1>
  
  <p>So basically I am looking for an editor, converter, or any clever trick I haven't thought of, to turn this documentation into HTML and PDF.</p>
  
  <p>Hands down the simplest editor I have found is <a href="http://benweet.github.io/stackedit/" rel="noreferrer">StackEdit</a>, but it doesn't export HTML well; it depends on online stylesheets that aren't linked properly and the exported HTML is pretty unbearable to see. It wouldn't work offline anyway.</p>
  
  <h1>Export HTML and PDF</h1>
  
  <p>I am looking for <em>any</em> way to do this properly. I don't mind if there's some stand alone application or script that converts the <code>markdown</code> file into proper HTML. I need someone to show me the tricks in documentation-generating that I can't find.</p>
  
  <p>PDF is a different story. I think I spammed my computer full with HTML-to-PDF converters, and each of them added spam and watermarks to my awesomely clean documentation.</p>