Example
All of the other buttons you can create, are buttons that link to a GitHub repository and prompts the user to complete a certain action. These buttons can do actions such as:
- Watch a repository
- Star a repository
- Fork a repository
- Download a repository
- List an Issue with a repository
Here's how to create some:
- Go onto github:buttons
- Click the button type you want to create (Watch, Star, Fork, Download, or Issue)
![Button click example](https://i.stack.imgur.com/UiZ4J.gif)
- Place your GitHub username in the box labeled ":user", and your repository in the box ":repo"
![Repo insert example](https://i.stack.imgur.com/4uOhR.gif)
- Customize the button using the boxes "Large button", "Show count", and "Standard icon":
![Download Button](https://i.stack.imgur.com/7Dx6x.png)
![Issue Button](https://i.stack.imgur.com/xFgF4.png)
![Star Button](https://i.stack.imgur.com/8zUsT.png)
- Place this code in the
<head>
or before the end of the <body>
of your code:
<a class="github-button" href="https://github.com/hubot" aria-label="Follow @hubot on GitHub">Follow @hubot</a>
- Place the customized button rendering code in your code.
![Full tutorial](https://i.stack.imgur.com/EHn5c.gif)