Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.11 KB

README.md

File metadata and controls

31 lines (20 loc) · 1.11 KB

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