跳到内容

GitHub Gist WordPress Plugin

v1.1

作者未署名 · 2010年7月30日 上架

GitHub Gist Wordpress Plugin allows you to embed GitHub Gist snippets with a [gist] tag, instead of copying and pasting HTML.

正在使用
10+
评分
暂无
累计下载
4,486
最近更新
2010年9月22日
需要 WordPress 2.5.1+已测试到 3.0.5

截图

With JavaScript On
With JavaScript On
With JavaScript Off
With JavaScript Off

GitHub Gist WordPress Plugin allows you to embed GitHub Gist snippets with a [gist] tag, instead of copying and pasting HTML. For example, to embed the github_gist_wordpress_plugin_test.txt file from gist: 447298, fill in the id and file attributes in the [gist] tag:

[gist id=447298 file=github_gist_wordpress_plugin_test.txt]

or

copy the embedding JavaScript code from GitHub and directly paste it in the body of the [gist] tag:

[gist]<script src="http://gist.github.com/447298.js?file=github_gist_wordpress_plugin_test.txt"></script>[/gist].

The [gist] tag also expands the content of the embedded Gist and wraps it with “<noscript><code><pre>” so that search engine spiders, users with javascript disabled and users reading your blog through RSS will still see your code in a blog entry.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums