gitbook-plugin-icp
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1027255
218