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

ブロック

このプラグインは1個のブロックを提供します。

  • 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

FAQ

Where I can find shortcode button?

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

評価

このプラグインにはレビューがありません。

貢献者と開発者

Gist API Code insert はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Gist API Code insert” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0

  • Initial plugin release.