I'm using Kramdown's ToC generation in Jekyll and am wondering I can make it somehow support automatic numbering, so that this markdown:
## Header A
### Subheader
## Header B
Gets turned into this HTML:
<h2>1 Header A</h2>
<h3>1.1 Subheader</h3>
<h2>2 Header B</h2>
Apparently this could be done in CSS or JavaScript, but I'm looking for a Markdown->HTML only solution.