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
Great WordPress plugin .but i couldnt find it on WordPress official plugins.
Glad you like it Jay and no it’s not in the WordPress plugin respiratory it’s only on GitHub.
Wow, that’s a really good job. Thanks to all, really, this plugin save my life (in a way
)