A plugin for creating table of contents using remark-toc.
Simply add Table of Contents
to your Markdown.
From remark-toc:
- Looks for the first heading containing 'Table of Contents', 'toc', or 'table-of-contents' (case insensitive, supports alt/title attributes for links and images too)
- Removes all following contents until an equal or higher heading is found
- Inserts a list representation of the hierarchy of following headings
- Adds links to following headings, using the same slugs as GitHub