/**
- Plugin Name: wp-ShowGithubFile
- Description: Show a file, preferably source code file content in a WordPress blog post or page
- Version: 1.0.0
- Author: NinethSense
- Author URI: https://blog.ninethsense.com/
- License: GPL v2 or later
*/
This is a very minimal show file contents WordPress plugin. PHP's building syntax highlight feature is used to highlight any source code.
It is recommended to install the plugin directly from WordPress - https://wordpress.org/plugins/wp-showgithubfile/
- Download the file wp-ShowGithubFile.php and upload to your /wp-content/plugins folder
- Login to your Wordpress admin (/wp-admin) and go to Plugins section
- "Activate" the plugin
[GitHub file="GitHub raw file path" [style='css style']]
Use only GitHub's raw file URL.
[GitHub file="https://raw.githubusercontent.com/ninethsense/code-share/master/PortPing/PortPing.php"]
[GitHub file="https://raw.githubusercontent.com/ninethsense/code-share/master/PortPing/PortPing.php" style='max-height:400px']
Use this at your risk. This project has not been tested thoroughly, and has very minimal features.

