Title: Gist GitHub Shortcode
Author: Claudio Sanches
Published: <strong>2012 年 10 月 6 日</strong>
Last modified: 2020 年 8 月 10 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/gist-github-shortcode.svg)

# Gist GitHub Shortcode

 作者：[Claudio Sanches](https://profiles.wordpress.org/claudiosanches/)

[下载](https://downloads.wordpress.org/plugin/gist-github-shortcode.1.3.0.zip)

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

 [支持](https://wordpress.org/support/plugin/gist-github-shortcode/)

## 描述

This plugin adds Github Gists in your posts via shortcode.

**Examples**

Add a full gist:

    ```
    [gist id="3837669"]
    ```

Add a specific file in a gist:

    ```
    [gist id="3837669" file="index.php"]
    ```

### License

Gist GitHub Shortcode is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
 by the Free Software
Foundation, either version 3 of the License, or (at your option) any later version.

Gist GitHub Shortcode is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Gist
GitHub Shortcode. If not, see [http://www.gnu.org/licenses/](http://www.gnu.org/licenses/).

## 屏幕截图

 * [[
 * Shortcode button in TinyMCE.
 * [[
 * Shorcode dialog.
 * [[
 * Shorcode example.
 * [[
 * Plugin in action.

## 安装

 * Upload plugin files to your plugins folder, or install using WordPress built-
   in Add New Plugin installer;
 * Activate the plugin.

## 常见问题

### What is the plugin license?

 * This plugin is released under a GPL license.

## 评价

![](https://secure.gravatar.com/avatar/fd1a4a2ed14a6c66fd9a163e8c1c52e731fd7d4c02406bbadd70c211af5f5574?
s=60&d=retro&r=g)

### 󠀁[Beautiful!](https://wordpress.org/support/topic/beautiful-330/)󠁿

 [cooperka](https://profiles.wordpress.org/cooperka/) 2021 年 2 月 16 日

Beautiful! Does what it says it does.

![](https://secure.gravatar.com/avatar/d6a972af8ae1553b34aa1e12b5bc2dc0865a5168273c7ea793632b16007853ea?
s=60&d=retro&r=g)

### 󠀁[Has also a Editor button](https://wordpress.org/support/topic/has-also-a-editor-button/)󠁿

 [jezekjan](https://profiles.wordpress.org/jezekjan/) 2018 年 4 月 1 日

Love it!

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/)

## 贡献者及开发者

「Gist GitHub Shortcode」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 1.3.0 – 13/12/2013

 * Fixed code standards.
 * Added support to WordPress 3.8.

#### 1.2.0 – 19/05/2013

 * Improved the shortcode modal dialog.
 * Add pt_BR translation.

#### 1.1.0 – 04/01/2013

 * Source code reformulation.

#### 1.0.0

 * Initial plugin release.

## 额外信息

 *  版本 **1.3.0**
 *  最后更新：**6 年前**
 *  活跃安装数量 **200+**
 *  WordPress 版本 ** 3.8 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  语言
 * [English (US)](https://wordpress.org/plugins/gist-github-shortcode/)
 * 标签
 * [code](https://cn.wordpress.org/plugins/tags/code/)[Gist](https://cn.wordpress.org/plugins/tags/gist/)
   [Github](https://cn.wordpress.org/plugins/tags/github/)[syntax](https://cn.wordpress.org/plugins/tags/syntax/)
   [syntax highlighter](https://cn.wordpress.org/plugins/tags/syntax-highlighter/)
 *  [高级视图](https://cn.wordpress.org/plugins/gist-github-shortcode/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  6 条 5 星评价     ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/gist-github-shortcode/reviews/?filter=1)

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

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

## 贡献者

 *   [ Claudio Sanches ](https://profiles.wordpress.org/claudiosanches/)

## 支持

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

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

## 捐助

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

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