Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

mrpotatoes/docsify-toc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docsify Table of Contents


docsify-toc

Note: I won't be adding features but feel free to add pull requests and if they work/pass tests I'll add them in.

To use

Add stylesheet

<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/toc.css">

Add JS

<script src="https://unpkg.com/[email protected]/dist/toc.js"></script>

Add settings

window.$docsify = {
  toc: {
    scope: '.markdown-section',
    headings: 'h1, h2, h3, h4, h5, h6',
    title: 'Table of Contents',
  },
}

TODO

  • Tests
  • Example
  • Documentation

About

docsify-toc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •