Title: WP Gist Embed
Author: James Robinson
Published: <strong>2015 年 1 月 11 日</strong>
Last modified: 2017 年 6 月 19 日

---

搜索插件

![](https://ps.w.org/wp-gist-embed/assets/banner-772x250.png?rev=1699561)

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

![](https://ps.w.org/wp-gist-embed/assets/icon.svg?rev=1699561)

# WP Gist Embed

 作者：[James Robinson](https://profiles.wordpress.org/imaginarymedia/)

[下载](https://downloads.wordpress.org/plugin/wp-gist-embed.0.2.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-gist-embed/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-gist-embed/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-gist-embed/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-gist-embed/#developers)

 [支持](https://wordpress.org/support/plugin/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](https://wordpress.org/support/plugin/wp-gist-embed)
and if you find this useful, please [review the plugin](https://wordpress.org/support/view/plugin-reviews/wp-gist-embed).

Developed by [James Robinson](https://jmr.codes).

** 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ James Robinson ](https://profiles.wordpress.org/imaginarymedia/)

[帮助将「WP Gist Embed」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-gist-embed)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-gist-embed/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-gist-embed/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-gist-embed/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-gist-embed/)。

## 更新日志

#### 0.2

 * Minor updates and compatability checks

#### 0.1

 * Initial launch

## 额外信息

 *  版本 **0.2**
 *  最后更新：**9 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-gist-embed/)
 * 标签
 * [Gist](https://cn.wordpress.org/plugins/tags/gist/)[Github](https://cn.wordpress.org/plugins/tags/github/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-gist-embed/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/wp-gist-embed/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-gist-embed/reviews/)

## 贡献者

 *   [ James Robinson ](https://profiles.wordpress.org/imaginarymedia/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-gist-embed/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BNWNBPEK33UBA)