Skip to content

Instantly share code, notes, and snippets.

@abraham
Created January 10, 2011 01:31
Show Gist options
  • Save abraham/772222 to your computer and use it in GitHub Desktop.
Save abraham/772222 to your computer and use it in GitHub Desktop.
GitHub Anywhere example code
<!-- Place anywhere in the <body> of your page replacing :name with a GitHub username and :repo with a repository name -->
<a href='http://github.com/:name' class='github-anywhere github-anywhere-user' data-user=':name'>Follow :name on GitHub</a>
<a href='http://github.com/:name/:repo' class='github-anywhere github-anywhere-watch' data-user=':name' data-repo=':repo'>Watch :name/:repo on GitHub</a>
<!-- Place in the <head> of your page -->
<script src='https://githubanywhere.appspot.com/github-anywhere.js'></script>
<script>
GitHubAnywhere(function(G) {
G.buttons();
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment