Docs
How to use?
All you have to do is to add below markdown markup to your markdown content:
![visitors](https://visitor-badge.glitch.me/badge?page_id=page.id&left_color=red&right_color=green)
In which,
The url parameter page_id is REQUIRED, please use the unique string to best represent your page.
I recommend you to follow page_id
rules below:
- For README.md file, use ${your.username}.${your.repo.id},
https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge
for example. - For Issue body, use ${your.username}.${your.repo.id}.issue.${issue.id},
https://visitor-badge.glitch.me/badge?page_id=jwenjian.visitor-badge.issue.1
for example.
or any other markdown content, please give an unique string to distinguish
The url parameter left_color and right_color is optional, you can customize the badge color by passing the two parameters.
The values supports color names(like green) and RGB in hex string starts with a hashtag(like #66ccff)