jekyll-toc-generator

By toshimaru

A liquid filter plugin for Jekyll which generates a table of contents

To install, add this to your Gemfile:

gem "jekyll-toc-generator"

and run bundle install. To use, run Jekyll with bundle exec preceding it:

$ bundle exec jekyll build
$ bundle exec jekyll serve

Source code