ydoc-plugin-gitalk
v0.0.6
Published
YDoc plugin for gitalk
Downloads
9
Readme
ydoc-plugin-gitalk
YDoc 评论插件,基于 gitalk
Usage
In the ydoc config file, configuration:
{
pluginsConfig: {
"gitalk": {
on: true,
owner: ['dwb1994'],
repo: 'gitalk0',
admin: 'dwb1994',
clientID: 'b342e8d71f6f48b2e0c9',
clientSecret: 'f078384fd5bbbbe08520dc0f1b4d0c55e9cb2c1e'
}
}
}
configs meanings:
gitalk:
on: true
owner: 你的 github 账户名
repo: 你要作为评论系统的 repo
admin: ['github 用户名']
clientID: 你的 clientId
clientSecret: 你的 clientSecret
opstions same as 在hexo中使用gitalk