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.