该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Gist Embed

描述

A simple plugin that enables a shortcode for embedding Gist code in WordPress.

The shortcode has two attributes, the Gist source URL and, optionally, the height of the embedded code window.

[gist src="" height=""]

The Gist src attribute must be the embed URL, for example: https://gist.github.com/imaginarymedia/316a29936e5e7d709665.js

The Gist height attribute is optional and can be any value with a valid CSS unit measure: em, %, px, vh, etc. It will apply a max-height to the gist.

The plugin also creates UI buttons for both the visual and text editors.

If you have suggestions for improvements, please contact us. via the plugin support page and if you find this useful, please review the plugin.

Developed by James Robinson.

** TO DO **
* Validate the gist src URL

安装

  1. Unzip the plugin and copy the wp-gist-embed folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件

常见问题

Installation Instructions
  1. Unzip the plugin and copy the wp-gist-embed folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件

评价

此插件暂无评价。

贡献者及开发者

“WP Gist Embed” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Gist Embed”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.2

  • Minor updates and compatability checks

0.1

  • Initial launch