title: How do I add permalinks to headers in kramdown?
body: <p>I'm building a website with Jekyll and Github-Page written in markdown. I want to make it easy to permalink to headers, the way most online  documentation does.</p>
  
  <p>I want to get a URL with a hash when I click on a header. Is there an easy way to achieve this in Kramdown or in Jekyll's config?</p>
  
  <p><strong>Markdown page</strong>  </p>
  
  <pre><code>#### A regular header
  
  A regular sentence.
  </code></pre>
  
  <p><strong>Ideal result</strong></p>
  
  <pre><code>&lt;h4 id="a-regular-header"&gt;&lt;a href="#a-regular-header"&gt;A regular header&lt;/a&gt;&lt;/h4&gt;
  &lt;p&gt;A regular sentence.&lt;/p&gt;
  </code></pre>