vitepress-plugin-comment-with-giscus
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "vitepress-plugin-comment-with-giscus", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "vitepress comment plugin based on giscus", | ||
@@ -5,0 +5,0 @@ "workspaces": [ |
@@ -24,2 +24,3 @@ # README_zh | ||
import giscusTalk from 'vitepress-plugin-comment-with-giscus'; | ||
import { useData } from 'vitepress'; | ||
export default { | ||
@@ -47,2 +48,10 @@ ...DefaultTheme, | ||
## 扩展使用 | ||
如果文章前言添加以下代码,则不会生成评论区 | ||
```md | ||
--- | ||
comment: false | ||
--- | ||
``` |
@@ -26,2 +26,3 @@ # README | ||
import giscusTalk from 'vitepress-plugin-comment-with-giscus'; | ||
import { useData } from 'vitepress'; | ||
export default { | ||
@@ -49,2 +50,10 @@ ...DefaultTheme, | ||
## Extended | ||
If the following code is added to the preface of the article, the comment area will not be generated | ||
```md | ||
--- | ||
comment: false | ||
--- | ||
``` |
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
10312
58