Vuepress Plugin Awesome Gitalk talk

GitHub watchers STAR FORK

npm download jsDelivr hits (npm) jsdelivr ISSUES GitHub closed pull requests COMMIT LANGUAGES npm

# ๐Ÿ˜š Welcome

Welcome to the vuepress plugin with gitalk.

# ๐ŸŽฎ TL;DR

โŒจ๏ธ How to use it, ๐Ÿ‘‡

# ๐Ÿ”จ Usage

# Npm

npm install vuepress-plugin-awesome-gitalk --save

// or

yarn add vuepress-plugin-awesome-gitalk

Setting with your account

gitalk-setting-1.png

gitalk-setting-2.png

.vuepress/config.js

module.exports = {
  plugins: [
    [
      'vuepress-plugin-awesome-gitalk', {
        log: true,
        enable: true,
        // ๆŒ‚่ฝฝ่Š‚็‚น
        root: "gitalk-container",
        //ๆœ€ๅคง้‡่ฏ•ๆฌกๆ•ฐ
        maxRetryCount: 5,
        // ้ป˜่ฎคๆ˜ฏๆฃ€ๆŸฅๆ—ถ้—ด
        defaultCheckMinutes: 500,
        // ๆ˜ฏๅฆๅผ€ๅฏ้ฆ–้กต่ฏ„่ฎบ
        home: false,
        // ๅ…ณ้—ญ Gitalk ่ฏ„่ฎบ้กต้ข, ๆญฃๅˆ™ๅŒน้…, eg: /docs/
        ignorePaths: ['/'],
        // gitalk ้…็ฝฎ
        gitalk: {
          clientID: 'your clientID',
          clientSecret: 'your clientSecret',
          repo: 'your repo name',
          owner: 'your owner',
          admin: ['your admin'],
          language: 'zh-CN',
        }
      }
    ],
  ]
}
# Ignore Paths




ย 





module.exports = {
    plugins: [
      [
        'vuepress-plugin-awesome-gitalk', {
            ignorePaths: ['/ignore/']
        }
      ],
    ],
}

# ๐Ÿค Contributing

PR

We welcome all contributions. You can submit any ideas as pull requests or as a GitHub issue.

Docs & Demo

NPM Package

CDN Package

# ๐Ÿ‘จโ€๐Ÿญ Author

Front-End development engineer, technology stack: React + Typescript + Mobx, also used Vue + Vuex for a while

# ๐Ÿ“ License

LICENSE

Copyright ยฉ 2020-present Rain120.