vuepress-plugin-side-anchor

1.0.6 • Public • Published

vue-plugin-side-anchor

version license

添加右侧边锚点导航栏到你的vuepress站点中,类似于 firebase document

特性

  • 自动收集标题以及层级关系,无需配置
  • 滑动时,侧边锚点自动高亮

使用

yarn add vuepress-plugin-side-anchor -D
# 或者
npm i vuepress-plugin-side-anchor -D

在 .vuepress/config.js 添加如下配置。

module.exports = {
  // ...
  plugins: [
    // ...
    ['vuepress-plugin-side-anchor']
  ]
}

Github地址,欢迎交流

Readme

Keywords

none

Package Sidebar

Install

npm i vuepress-plugin-side-anchor

Weekly Downloads

4

Version

1.0.6

License

ISC

Unpacked Size

5.13 kB

Total Files

5

Last publish

Collaborators

  • bennettli