minitoc
v0.1.1
Published
Generate a table of contents by searching for headings.
Downloads
6
Readme
minitoc
Generate a table of contents by searching for headings.
How To Use
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/minitoc.js"></script>
<script>minitoc.init()</script>
<div data-toc></div>
<div data-toc-container>
<h2>テストh2</h2>
<h3>テストh3</h3>
<p>テスト文章テスト文章テスト文章テスト文章テスト文章テスト文章</p>
...
</div>
Respect
- jgallen23/toc: jQuery Table of Contents Plugin
- tscanlin/tocbot: Build a table of contents from headings in an HTML document.
License
- MIT