{"id":13687301,"url":"https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex","last_synced_at":"2025-05-01T12:33:21.624Z","repository":{"id":108652177,"uuid":"76522664","full_name":"zq99299/gitbook-plugin-anchor-navigation-ex","owner":"zq99299","description":"Supports two navigation mode, title, anchor effect is the default theme, style, follow the website","archived":false,"fork":false,"pushed_at":"2019-01-16T02:45:12.000Z","size":2256,"stargazers_count":127,"open_issues_count":1,"forks_count":39,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-03T04:05:22.187Z","etag":null,"topics":["anchor-navigation","gitbook","gitbook-plugin-anchor-navigation-ex","toc","toc-icon"],"latest_commit_sha":null,"homepage":"https://zq99299.gitbooks.io/gitbook-guide/content/chapter/plugin.html","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zq99299.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-12-15T04:03:46.000Z","updated_at":"2024-09-10T07:46:51.000Z","dependencies_parsed_at":"2024-01-14T16:09:28.257Z","dependency_job_id":"6fd05f2a-784c-4c82-9166-023c99935b43","html_url":"https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex","commit_stats":{"total_commits":110,"total_committers":8,"mean_commits":13.75,"dds":0.3090909090909091,"last_synced_commit":"a0079c8436bc8392e890f7e50662c57b18b53cac"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq99299%2Fgitbook-plugin-anchor-navigation-ex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq99299%2Fgitbook-plugin-anchor-navigation-ex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq99299%2Fgitbook-plugin-anchor-navigation-ex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zq99299%2Fgitbook-plugin-anchor-navigation-ex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zq99299","download_url":"https://codeload.github.com/zq99299/gitbook-plugin-anchor-navigation-ex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224257576,"owners_count":17281742,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anchor-navigation","gitbook","gitbook-plugin-anchor-navigation-ex","toc","toc-icon"],"created_at":"2024-08-02T15:00:52.056Z","updated_at":"2024-11-12T10:31:04.200Z","avatar_url":"https://github.com/zq99299.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# gitbook-plugin-anchor-navigation-ex\n\n[![GitHub issues](https://img.shields.io/github/issues/zq99299/gitbook-plugin-anchor-navigation-ex.svg)](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/issues) [![GitHub issues](https://img.shields.io/github/issues-closed/zq99299/gitbook-plugin-anchor-navigation-ex.svg)](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/issues?q=is%3Aissue+is%3Aclosed) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://raw.githubusercontent.com/zq99299/gitbook-plugin-anchor-navigation-ex/master/LICENSE) [![npm](https://img.shields.io/npm/v/gitbook-plugin-anchor-navigation-ex.svg)](https://www.npmjs.com/package/gitbook-plugin-anchor-navigation-ex) [![npm](https://img.shields.io/npm/dt/gitbook-plugin-anchor-navigation-ex.svg)](https://www.npmjs.com/package/gitbook-plugin-anchor-navigation-ex)\n\n\n\n===============\t【DOC：中文，[English](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/blob/master/doc/README_EN.md) 】================\n\n===============\t【UpdateRecord：[中文](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/blob/master/doc/updateRecord.md)，[English](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/blob/master/doc/updateRecord-en.md)】================\n\n-----\n\n:exclamation: 该项目停更，转向使用 vuepress 构建笔记了\n\n-----\n\n:exclamation: 插件配置不兼容V1.x 以下版本\n\n# 插件功能\n- [x] 给页面H1-H6标题增加锚点效果\n- [x] 浮动导航模式\n- [x] 页面内顶部导航模式\n- [x] 导航标题前的层级图标是否显示，自定义H1-H3的层级图标\n- [x] plugins[\"theme-default\"],页面标题层级与官方默认主题的`showLevel`层级关联\n- [x] plugins[\"theme-default\"],插件样式支持官网默认主题的三种样式：White、Sepia、Night\n- [x] 在页面中增加`\u003cextoc\u003e\u003c/extoc\u003e`标签，会在此处生成TOC目录\n- [x] 在页面中增加`\u003c!-- ex_nonav --\u003e`标签，不会在该页面生成悬浮导航\n- [x] config.printLog=true,打印当前的处理进度，排错很有用\n- [x] config.multipleH1=false,去掉丑陋的多余的1. 序号（如过您的书籍遵循一个MD文件只有一个H1标签的话）\n- [x] config.showGoTop=true,显示返回顶部按钮 V1.0.11+\n- [x] config.float.floatIcon 可以配置浮动导航的悬浮图标样式  V1.0.12+\n- [x] 在页面中增加`\u003c!-- ex_nolevel --\u003e`不会在该页面生成层级序号 V1.0.12+\n\n# 插件效果\n* 风格：极简\n* [点击查看效果图](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/blob/master/doc/effectScreenshot.md)\n\n\n# 怎么使用插件？\n\n在你的 `book.json` 中增加插件：\n\n```\n{\n  \"plugins\": [\n       \"anchor-navigation-ex\"\n  ]\n}\n```\n然后安装插件:\n\n```\n$ gitbook install ./\n```\n\n就可以使用了，插件详细配置，[请点击这里查看](https://github.com/zq99299/gitbook-plugin-anchor-navigation-ex/blob/master/doc/config.md)\n\n\n或则单独安装插件\n\n```\n$ npm install gitbook-plugin-anchor-navigation-ex --save\n```\n\n\u003eopen npm : https://www.npmjs.com/package/gitbook-plugin-anchor-navigation-ex\n\n\n# 致敬\n本插件集合以下插件的功能，并重写。\n\n1. https://github.com/zhangzq/gitbook-plugin-navigator\n2. https://github.com/yaneryou/gitbook-plugin-anchor-navigation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzq99299%2Fgitbook-plugin-anchor-navigation-ex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzq99299%2Fgitbook-plugin-anchor-navigation-ex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzq99299%2Fgitbook-plugin-anchor-navigation-ex/lists"}