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

常见问题

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.