How to create a page toc

, Updated by Julian Knight Reading time ~ 1 min.
Kb

If you want to generate a table of contents list (toc) for a markdown file, you can use the native Kramdown feature.

If you want to generate an in-page table of contents using markdown headings, you can do so with the following code.

{% raw %}

* This list entry is required but will not be shown, it is replaced by the toc
{:toc}

{% endraw %}


comments powered by Disqus