Socket
Socket
Sign inDemoInstall

gitbook-plugin-icp

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-icp - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

22

examples/README.md

@@ -160,3 +160,3 @@ # 欢迎访问 gitbook-plugin-icp 官网 👋

"number": "YOUR OWN ICP NUMBER",
"link":"YOUR OWN ICP LINK"
"link": "YOUR OWN ICP LINK"
}

@@ -176,3 +176,3 @@ }

"number": "YOUR OWN ICP NUMBER",
"link":"YOUR OWN ICP LINK"
"link": "YOUR OWN ICP LINK"
}

@@ -183,2 +183,20 @@ }

或者您可以添加 `style` 以自定义备案样式:
```json
{
"plugins": ["icp"],
"pluginsConfig": {
"icp": {
"label": "YOUR OWN ICP LABEL",
"number": "YOUR OWN ICP NUMBER",
"link": "YOUR OWN ICP LINK",
"style": {
"color": "#f72b07"
}
}
}
}
```
**注意** :如果您的书还没有创建,以上代码段可以用作完整的`book.json`文件.

@@ -185,0 +203,0 @@

3

examples/SUMMARY.md

@@ -14,2 +14,3 @@ # Summary

* [hexo-plugin-readmore](https://snowdreams1006.github.io/hexo-plugin-readmore/)
* [security-plus](https://security-plus.github.io/)
* [security-plus](https://security-plus.github.io/)
{
"name": "gitbook-plugin-icp",
"version": "0.1.1",
"version": "0.1.2",
"description": "gitbook plugin for adding icp info to footer",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,7 +27,7 @@ # 欢迎访问 gitbook-plugin-icp 官网 👋

![icp-multilingual-index-use-preview.png](icp-multilingual-index-use-preview.png)
![icp-multilingual-index-use-preview.png](./icp-multilingual-index-use-preview.png)
- 单语言版本
![icp-monolingual-index-use-preview.png](icp-monolingual-index-use-preview.png)
![icp-monolingual-index-use-preview.png](./icp-monolingual-index-use-preview.png)

@@ -163,3 +163,3 @@ ## 用法

"number": "YOUR OWN ICP NUMBER",
"link":"YOUR OWN ICP LINK"
"link": "YOUR OWN ICP LINK"
}

@@ -179,3 +179,3 @@ }

"number": "YOUR OWN ICP NUMBER",
"link":"YOUR OWN ICP LINK"
"link": "YOUR OWN ICP LINK"
}

@@ -186,2 +186,20 @@ }

或者您可以添加 `style` 以自定义备案样式:
```json
{
"plugins": ["icp"],
"pluginsConfig": {
"icp": {
"label": "YOUR OWN ICP LABEL",
"number": "YOUR OWN ICP NUMBER",
"link": "YOUR OWN ICP LINK",
"style": {
"color": "#f72b07"
}
}
}
}
```
**注意** :如果您的书还没有创建,以上代码段可以用作完整的`book.json`文件.

@@ -188,0 +206,0 @@

@@ -27,7 +27,7 @@ # Welcome to gitbook-plugin-icp 👋

![icp-multilingual-index-use-preview.png](icp-multilingual-index-use-preview.png)
![icp-multilingual-index-use-preview.png](./icp-multilingual-index-use-preview.png)
- monolingual
![icp-monolingual-index-use-preview.png](icp-monolingual-index-use-preview.png)
![icp-monolingual-index-use-preview.png](./icp-monolingual-index-use-preview.png)

@@ -173,3 +173,3 @@ ## Usage

"number": "YOUR OWN ICP NUMBER",
"link":"YOUR OWN ICP LINK"
"link": "YOUR OWN ICP LINK"
}

@@ -180,2 +180,20 @@ }

or you can add `style` to custom your style of number:
```json
{
"plugins": ["icp"],
"pluginsConfig": {
"icp": {
"label": "YOUR OWN ICP LABEL",
"number": "YOUR OWN ICP NUMBER",
"link": "YOUR OWN ICP LINK",
"style": {
"color": "#f72b07"
}
}
}
}
```
**Note**: Above snippet can be used as complete `book.json` file, if your book doesn't have one yet.

@@ -182,0 +200,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc