UNPKG

markdown-it-table-of-contents

Version:

A Markdown-it plugin for adding a table of contents to markdown documents

18 lines (13 loc) 250 B
<!-- omit from toc --> # An article some text with hard break before toc [[toc]] ## Sub heading 1 Some nice text ## Sub heading 2 Some even nicer text <!-- omit from toc --> ## Sub heading 3 Ignore this heading in TOC # Next h1 Section More text