sylvainpolletvillard / vuepress-plugin-global-toc

A vuepress 1.x plugin to add a global table of contents
MIT License
7 stars 2 forks source link

vuepress-plugin-global-toc

NPM version NPM downloads

This plugin requires VuePress >= 1.0.0. VuePress 2 is not supported

Features

Install

npm i vuepress-plugin-global-toc

Usage

Using this plugin:

// .vuepress/config.js
module.exports = {
  plugins: ['vuepress-plugin-global-toc']
}

then add your table of components where you please in your markdown pages:

# Table of contents

<GlobalTableOfContents />