Toshimaru's Blog

Create Table of Contents in kramdown (Jekyll default markdown renderer)

If you use kramdown (default markdown renderer for Jekyll), you can easily add ToC (Table of Contents) to your markdown contents.

Just add the snippet to the position where you want to show the ToC.

* toc

Table of Contents for this post

Let’s add ToC in this post.


It’s working correctly! :)


Load more