/GitHub-Code-Viewer-for-WordPress

A simple GitHub Code Viewer for WordPress.

Primary LanguagePHP

=== Code From Url ===

Contributors: mattc78, Jared Barneck (Rhyous) Tags: github, snippet, code Requires at least: 2.6 Tested up to: 4.7

Code from URL automatically pulls a source file from a URL and displays it in a blog post.

== Description ==

GitHub Code Viewer automatically pulls a file from and displays it in a blog post.

== Installation ==

  1. Upload github.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. To display a file in your blog take the link from GitHub and use this string:

CodeFromUrl="https://raw.githubusercontent.com/rhyous/StringLibrary/master/src/Rhyous.StringLibrary/Trim/Extensions/TrimObjectExtensions.cs"