GitPress Repo Plugin

GitPress Repo is a WordPress plugin that lets you easily embed a Github repo or Gist onto your WordPress site with a shortcode. This is great for other plugin or library authors that want to showcase the contents of a repo on their WordPress project pages.

GitPress Repo uses Darcy Clarke‘s Repo.js and Repo.js uses Markus Ekwall‘s jQuery Vangogh plugin for styling of file contents. Vangogh, subsequently, utilizes highlight.js, written by Ivan Sagalaev for syntax highlighting.

Examples of Usage:

Basic repo shortcode:

1
[repo name="gitpress-repo" author="bradthomas127"]


Repo shortcode with branch:

1
[repo name="jquery" author="jquery" branch="strip_iife"]


Gist shortcode:

1
[gist id="1595155"]

Fork or Download from GitHub

3 Responses to GitPress Repo Plugin

  1. jay kanakiya says:

    Great WordPress plugin .but i couldnt find it on WordPress official plugins.

  2. Mario says:

    Wow, that’s a really good job. Thanks to all, really, this plugin save my life (in a way :P )