Gist API Code insert

描述

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

螢幕截圖

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

Blocks

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.

貢獻者及開發者

“Gist API Code insert” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Gist API Code insert 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.0

  • Initial plugin release.