GistPress
WordPress plugin to add Gist oEmbed and shortcode support with caching.
★ 144stars
26forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/bradyvercher/gistpress/archive/refs/heads/develop.zipDeclares an update source (https://github.com/bradyvercher/gistpress), so updates arrive through the plugin's own updater.
From the readme
GistPress #
A WordPress plugin to easily embed Gists via oEmbed or shortcode.
Requires: 4.0
GitHub provides a method for embedding Gists on websites, but it requires inserting a tag, which can become mangled or stripped from the TinyMCE editor used in WordPress. Instead, this plugin allows you to embed a Gist by simply inserting its URL into the editor for oEmbed-like support, or via a shortcode for more refined control.
Features ##
Better integration with the visual editor in WordPress since tags aren't used, which also allows visitors without JavaScript to view your code snippets.
Users viewing your content in a feed reader will see a link directly to the Gist instead of nothing.
Limit which lines from a Gist are displayed. Helpful for breaking down code so it can be easily explained.
Highlight specific lines within a Gist to call attention to them.
Easily debug embedded Gists using a custom panel for the Debug Bar plugin.
A few additional CSS classes are inserted for better styling hooks.
Example Gist embed with line number restrictions, a highlighted line, and meta links disabled.
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.