gistpress
gistpress copied to clipboard
WordPress plugin to add Gist oEmbed and shortcode support with caching.
Mute warnings for invalid HTML tags. ## Description I only added `libxml_use_internal_errors(true);` right above the LoadHTML() to mute any warnings it throws. ## Motivation and Context In its current state,...
When using the Gutenberg editor, putting in a shortcode for gistpress results in an HTML-formatted short-code. That results in large amounts of whitespace in the embedded Gist. ## Expected Behavior...
Added a couple of filters for transient duration. Many gists are not updated regularly, if at all, so a longer transient duration can be used. Example usage: ``` function pr_transient_expires(...
The new Gutenberg editor seems ripe for us to consider adding a GistPress Embed block, with all of the current shortcode attributes mapped to block attributes. ## Expected Behavior Quick...
AMP pages use a limited set of HTML elements, and strip everything else out. ## Expected Behaviour Ideally, if the gist can't be displayed correctly, we'd just leave a clear...
Just did a search in WordPress plugin repo and it seems that this plugin is not available there. Any specific reason why this plugin is not available in WordPress repo?
This was mentioned in https://github.com/bradyvercher/wp-blazer-six-gist-oembed/issues/1#issuecomment-11771728 - allow a client-side option on single post / pages to force refresh the cache for that post / page.
G'day I've just come up against the need to target the embedded gists based on whether or not they contain highlighted lines. My goal is to fade any non-highlighted lines...
I'm not sure why, but on one multi-site install, on one site, GistPress refuses to activate. On subdomain 1, it doesn't activate - although the "Plugin activated" message appears, it's...
Syntax highlighting for a PHP gist can be added, by adding the `