plugin-icon

Gist API Code insert

מאת pinchoalex·
Inserts Github Gist code directly in to your posts via shortcode without using js embed script
גרסה
1.1.5
עודכן לאחרונה
Oct 17, 2025

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" ]
חינםבתוכנית Business
בביצוע ההתקנה, אנחנו מקבלים את הסכמתך לתנאי השירות של WordPress.com ולתנאים של התוסף של הצד השלישי.
נבדקו עד
WordPress 6.3.7
תוסף זה זמין להורדה ולשימוש דרך שברשותך.