@fncheng/vuepress-plugin-side-anchor

1.0.8 • 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地址,欢迎交流

/@fncheng/vuepress-plugin-side-anchor/

    Package Sidebar

    Install

    npm i @fncheng/vuepress-plugin-side-anchor

    Weekly Downloads

    0

    Version

    1.0.8

    License

    ISC

    Unpacked Size

    5.22 kB

    Total Files

    5

    Last publish

    Collaborators

    • fncheng