跳到内容

WP Gist Embed

v0.2

James Robinson · 2015年1月11日 上架

This plugin provides Gist embedding via shortcode as well as adding Gist embed buttons to the visual and text editors.

正在使用
10+
评分
暂无
累计下载
1,751
最近更新
2017年6月20日
需要 WordPress 3.0.1+已测试到 4.8.35

贡献者

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

Plums

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

导航

说明

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

© 2026 Plums