Gist API Code insert


Unlike the standard embedding method that use script like this

<script src=""></script>

to embed gist code, Gist API Code insert plugin inserts code directly in to your posts using simple shortcode and highlights it with prism code highlighter.


Add all files from a gist:

[apCI id="123456789"]

Add single file from a gist:

[apCI id="123456789" file="filename.php"]

Add single file from a gist with raw file link:

[apCI id="123456789" file="filename.php" raw="yes" ]


  • Plugin`s shortcode button in WP classic editor
  • Highlighted code example from gist api via shortcode


This plugin provides 1 block.

  • SP Youtube channel videos The YouTube SocialPatch block is a simple and elegant way to showcase your YouTube channel videos on your website.


  1. Upload plugin files to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


Where I can find shortcode button?

  • You can find shortcode button in your classic code editor`s tool bar.


There are no reviews for this plugin.

Contributors & Developers

“Gist API Code insert” is open source software. The following people have contributed to this plugin.


Translate “Gist API Code insert” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Initial plugin release.