外掛說明
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" ]
螢幕擷圖
適用於區塊編輯器
這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。
- SP Youtube channel videos The YouTube SocialPatch block is a simple and elegant way to showcase your YouTube channel videos on your website.
安裝方式
- Upload plugin files to the
/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu in WordPress
常見問題集
-
- You can find shortcode button in your classic code editor`s tool bar.
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.0
- Initial plugin release.