New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@hclonely/hexo-github

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hclonely/hexo-github

Display a GitHub repositoy badge with timeline in your post to keep track of version difference.

latest
Source
npmnpm
Version
1.0.7
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

由于原项目不在维护,我稍微修复了一下

hexo-github

Display a GitHub repositoy badge with timeline in your post to keep track of version difference.

GitHub Badge Animation

Motive

When referencing an on-going project in an article, some of the content might became un-true or out-of-date as the project evolves, which would certainly cause some confusions to the readers.

This plugin display a badge with timeline for a GitHub repository that will compare latest commit against the referenced one. It should keep the readers informed.

Install

npm install --save @hclonely/hexo-github

Usage

Insert commit tag in your article:

{% commit user repo referenced_commit [auto_expand = true | false] [width = 100%] %}
ArgumentDescription
userGitHub user name
repoGitHub repository name of that user
commitCommit sha1 referenced in the article
auto_expand(Optional, default == false) true of false. Expand the timeline once synced if set to true.
width(Optional, default == 100%). Widget's width. It should be a valid CSS width value.

Example:

{% commit akfish hexo-math b82e65 %}

Keywords

website

FAQs

Package last updated on 01 Aug 2021

Did you know?

Socket

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.

Install

Related posts