Gist API Code insert

0

Unlike the standard embedding method that use script like this <script src=”https://gist.github.com/…”></script> to embed gist code, Gist API Code insert plugin inserts c

Version
Last updated
Active installations
WordPress Version
Tested up to
PHP Version
Rating
Total ratings
Tags
This plugin is outdated and might not be supported anymore.

Description

Unlike the standard embedding method that use script like this

<script src="https://gist.github.com/..."></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.

Examples

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" ]