![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
gridsome-plugin-gitalk
Advanced tools
A plugin that simplifies adding Gitalk comments to Gridsome.
A plugin that simplifies adding Gitalk comments to Gridsome.
# For npm
$ npm install gridsome-plugin-gitalk
# For yarn
$ yarn add gridsome-plugin-gitalk
Refer to this blog for a detailed tutorial on how to use and configure this plugin.
Add this plugin to your gridsome.config.js
plugins: [
{
use: 'gridsome-plugin-gitalk',
options: {
clientID: '',
... // Gitalk config
}
}
]
Then simply add the following line to your Vue files.
<Gitalk />
You can also specify options in the component itself like.
<Gitalk :config={
id: 'hi',
...
} />
Note: If same option is specified in the
gridsome.config.js
and the component. The value in the component would be considered.
clientID String
Required. GitHub Application Client ID.
clientSecret String
Required. GitHub Application Client Secret.
repo String
Required. GitHub repository.
owner String
Required. GitHub repository owner. Can be personal user or organization.
admin Array
Required. GitHub repository owner and collaborators. (Users who having write access to this repository)
id String
Default: location.href
.
The unique id of the page. Length must less than 50.
number Number
Default: -1
.
The issue ID of the page, if the number
attribute is not defined, issue will be located using id
.
labels Array
Default: ['Gitalk']
.
GitHub issue labels.
title String
Default: document.title
.
GitHub issue title.
body String
Default: location.href + header.meta[description]
.
GitHub issue body.
language String
Default: navigator.language || navigator.userLanguage
.
Localization language key, en
, zh-CN
and zh-TW
are currently available.
perPage Number
Default: 10
.
Pagination size, with maximum 100.
distractionFreeMode Boolean
Default: false.
Facebook-like distraction free mode.
pagerDirection String
Default: 'last'
Comment sorting direction, available values are last
and first
.
createIssueManually Boolean
Default: false
.
By default, Gitalk will create a corresponding github issue for your every single page automatically when the logined user is belong to the admin
users. You can create it manually by setting this option to true
.
proxy String
Default: https://cors-anywhere.herokuapp.com/https://github.com/login/oauth/access_token
.
GitHub oauth request reverse proxy for CORS. Why need this?
flipMoveOptions Object
Default:
{
staggerDelayBy: 150,
appearAnimation: 'accordionVertical',
enterAnimation: 'accordionVertical',
leaveAnimation: 'accordionVertical',
}
Comment list animation. Reference
enableHotKey Boolean
Default: true
.
Enable hot key (cmd|ctrl + enter) submit comment.
Open LICENSE file for more info
FAQs
A plugin that simplifies adding Gitalk comments to Gridsome.
The npm package gridsome-plugin-gitalk receives a total of 1 weekly downloads. As such, gridsome-plugin-gitalk popularity was classified as not popular.
We found that gridsome-plugin-gitalk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.