BACK TO DIRECTORY

Gist API Code insert

by pinchoalex

0.0
(0 ratings)

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

Screenshots

Plugin`s shortcode button in WP classic editor

Plugin`s shortcode button in WP classic editor

Highlighted code example from gist api via shortcode

Highlighted code example from gist api via shortcode

Plugin Details

Active Installs
0
Total Downloads
2,065
Version
1.1.5
Requires WP
4.0.0
Requires PHP
7.2
Tested Up To
6.3.10
Added
2019-02-07
Last Updated
2025-10-17 6:02pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0