Use kramdown for table of content

Posted by 小炒肉 on December 12, 2013

catalog: true

kramdown toc

Basic Usage

1
2
* TOC
{:toc}

test titles 1

test titles 2

test titles 3

Then you put your post with titles and all like:

1
2
3
4
5
6
7
## Title
## Mid title 1
This is text on page one
## Mid title 2
This is text for page two
### Sub title 2.a
Some more text

Example

 toc