oEmbed Gist

Description

  • Embed your source from gist into WordPress easily.
  • You simply have to paste the URL of your Gist.
  • You can embed a specific revision of the Gist.
  • You can embed an individual file that is part of a multi-file Gist.

Summary

You can embed your program sources from gist by simply pasting the URL like below.

  • https://gist.github.com/973153
  • https://gist.github.com/973153#file_select_media.html

Support

Screenshots

  • Copy URL from gist.github.com.
  • You simply paste URL into WordPress.
  • It just appears!

Installation

  • A plugin installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plugin is made effective.

FAQ

Installation Instructions
  • A plugin installation screen is displayed on the WordPress admin panel.
  • It installs it in wp-content/plugins.
  • The plugin is made effective.

Reviews

Works like a charm

Thank you for this plugin! It does what it says discretely and reliably. I’m currently using it with latest WordPress (v4.4.2), and all is well.

I noticed, though, that the plugin only supports specific naming patterns. If I have a Gist with multiple files, and they are named in a dot pattern—like my.gist.file-name.php—I would end up with a URL like my-gist-file-name-php, and the plugin would not embed those.

Is this a known behavior? Would you be interested in extending support for generic file names?

Easy peasy lemon squeezy

This is a whole lot better than pasting script tags. It renders the result in the content editor too! Now I can eliminate the syntax highlighter plugin I was using that loaded its assets on every single page. Two-fer.

Read all 14 reviews

Contributors & Developers

“oEmbed Gist” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

4.8

  • Displays output link when it is used with wp-amp. Thanks @emirpprime

4.7.1

4.7.0

  • Testedn on WordPress 4.7
  • Sync version number with WordPress core.

2.0.4

  • Tested on WordPress 4.5

2.0.2

  • Auto deploy.

2.0.1

  • Add Chinese translation. Thanks dallaslu!!

2.0.0

  • Leave a link to gist when is_feed().
  • Update tests.
  • Add readme.md

https://github.com/miya0001/oembed-gist/compare/1.9.0…2.0.0

1.9.0

  • Got it to work on Press This.

1.8.1

  • Tested on WordPress 4.3

1.8.0

  • Fix responsive css.
  • Add feature embedding gist’s revision.

1.7.0

  • Fix css styles for twentyfifteen.

1.6.1

  • Tested up to 4.0

1.6.0

  • https://github.com/miya0001/oembed-gist/compare/1.5.0…1.6.0

1.5.0

  • Fix problem with JetPack 2.9. Thanks rickrduncan for patch.

1.4.0

  • fixed for new permalink structure.

1.3.0

  • Some fix.

1.2.0

  • Fixed to specification changes of Gist.

1.1.0

  • Add support NOSCRIPT

0.1.0

  • The first release.