My site uses Jekyll with Redcarpet markdown parser. I'd like to make it so my headings are automatically generated with ids:
# My heading
Becomes:
<h1 id="my-heading">My heading</h1>
But I haven't found a way.
I'd like to stick with redcarpet as my markdown parser, but it's not essential. If there's another one that supports all the same features then I'd happily consider it. I especially like that redcarpet generates code blocks in pygments format.