npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

gitbook-plugin-anchor-navigation-ex

v1.0.14

Published

Supports two navigation mode, title, anchor effect is the default theme, style, follow the website

Downloads

499

Readme

gitbook-plugin-anchor-navigation-ex

GitHub issues GitHub issues GitHub license npm npm

=============== 【DOC:中文,English 】================

=============== 【UpdateRecord:中文English】================


:exclamation: 该项目停更,转向使用 vuepress 构建笔记了


:exclamation: 插件配置不兼容V1.x 以下版本

插件功能

  • [x] 给页面H1-H6标题增加锚点效果
  • [x] 浮动导航模式
  • [x] 页面内顶部导航模式
  • [x] 导航标题前的层级图标是否显示,自定义H1-H3的层级图标
  • [x] plugins["theme-default"],页面标题层级与官方默认主题的showLevel层级关联
  • [x] plugins["theme-default"],插件样式支持官网默认主题的三种样式:White、Sepia、Night
  • [x] 在页面中增加<extoc></extoc>标签,会在此处生成TOC目录
  • [x] 在页面中增加<!-- ex_nonav -->标签,不会在该页面生成悬浮导航
  • [x] config.printLog=true,打印当前的处理进度,排错很有用
  • [x] config.multipleH1=false,去掉丑陋的多余的1. 序号(如过您的书籍遵循一个MD文件只有一个H1标签的话)
  • [x] config.showGoTop=true,显示返回顶部按钮 V1.0.11+
  • [x] config.float.floatIcon 可以配置浮动导航的悬浮图标样式 V1.0.12+
  • [x] 在页面中增加<!-- ex_nolevel -->不会在该页面生成层级序号 V1.0.12+

插件效果

怎么使用插件?

在你的 book.json 中增加插件:

{
  "plugins": [
       "anchor-navigation-ex"
  ]
}

然后安装插件:

$ gitbook install ./

就可以使用了,插件详细配置,请点击这里查看

或则单独安装插件

$ npm install gitbook-plugin-anchor-navigation-ex --save

open npm : https://www.npmjs.com/package/gitbook-plugin-anchor-navigation-ex

致敬

本插件集合以下插件的功能,并重写。

  1. https://github.com/zhangzq/gitbook-plugin-navigator
  2. https://github.com/yaneryou/gitbook-plugin-anchor-navigation