Makes embedding Github Repositories into WordPress super easy.
JavaScript PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
css
images
js
README.md
gitpress-repo.php

README.md

GitPress Repo

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.

Demo

Demo: GitPress Repo Demo

Example Use

[repo name="_s" author="Automattic"]

You can also reference a specific branch if you want:

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

Or a Gist:

[gist id="2639806"]

@author bradthomas127 @version 1.0