toshimaru / jekyll-toc

Jekyll plugin which generates a table of contents.
MIT License
340 stars 52 forks source link

Followed instructions and toc does not render #118

Closed joelouthan closed 4 years ago

joelouthan commented 4 years ago

I did the walkthrough according to the README

Here is the site: https://joelouthan.github.io/ownCloud/

Here is the repo: https://github.com/joelouthan/ownCloud/tree/master/docs

This is for the default.md in which index.md is using layout: default.

Within my _layouts/default.html

`

{{ page.title }}

    {{ content | toc }}
  </section>`

And in my index.md, I am using h2.

But it still does not render the toc locally nor on github.

Any thoughts?