Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/codekaizen-github/wp-github-gist-block/archive/refs/heads/main.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
WP GitHub Gist Block
Description
This plugin allows you to embed GitHub Gists directly into your WordPress posts and pages using a custom block. It provides syntax highlighting and a user-friendly interface for managing Gists.
Installation
1. Upload the plugin files to the /wp-content/plugins/wp-github-gist-block directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Use the block in the editor.
Changelog
1.0.0
- Initial release.
FAQ
How do I create a GitHub Gist?
To create a GitHub Gist, go to the Gist creation page on GitHub, paste your code or text, and click "Create secret gist" or "Create public gist".
Can I use this plugin with any WordPress theme?
Yes, this plugin is designed to work with any WordPress theme that supports blocks via the Gutenberg editor.